Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 112 kB / 20.43 MB, free: 1.305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002532/0.002532, allocations: 189.2 kB / 23.72 MB, free: 4.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 47.92 kB / 370.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.263, allocations: 52.18 MB / 423.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.00421/0.2672, allocations: 2.55 MB / 425.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.2686, allocations: 0.6661 MB / 426.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.2687, allocations: 4 kB / 426.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.2689, allocations: 31.64 kB / 426.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.269, allocations: 71.34 kB / 426.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.2694, allocations: 87.77 kB / 426.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.2697, allocations: 278.7 kB / 426.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.2699, allocations: 68.5 kB / 426.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.2701, allocations: 115.6 kB / 427 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.2702, allocations: 119.5 kB / 427.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.409e-05/0.2703, allocations: 24 kB / 427.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.557e-05/0.2704, allocations: 32 kB / 427.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.773e-05/0.2704, allocations: 55.81 kB / 427.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.2706, allocations: 119.4 kB / 427.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003913/0.271, allocations: 276.2 kB / 427.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.271, allocations: 4 kB / 427.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.271, allocations: 0 / 427.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.271, allocations: 0 / 427.6 MB, free: 10.16 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009197/0.2719, allocations: 481.4 kB / 428.1 MB, free: 9.664 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.2719, allocations: 11.97 kB / 428.1 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.059e-05/0.272, allocations: 28.8 kB / 428.1 MB, free: 9.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.2725, allocations: 186.1 kB / 428.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.2725, allocations: 20.75 kB / 428.3 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.798e-05/0.2726, allocations: 20.38 kB / 428.3 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.273, allocations: 191.6 kB / 428.5 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.273, allocations: 0 / 428.5 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.2731, allocations: 8 kB / 428.5 MB, free: 9.176 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.2731, allocations: 8 kB / 428.5 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000347/0.2734, allocations: 149.7 kB / 428.7 MB, free: 9.02 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.2749, allocations: 0.886 MB / 429.6 MB, free: 8.031 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.2752, allocations: 142.5 kB / 429.7 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.2754, allocations: 84.91 kB / 429.8 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.2754, allocations: 3.984 kB / 429.8 MB, free: 7.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.2755, allocations: 38.56 kB / 429.8 MB, free: 7.746 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.2755, allocations: 0 / 429.8 MB, free: 7.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.00133/0.2768, allocations: 337.6 kB / 430.2 MB, free: 7.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.2769, allocations: 63.34 kB / 430.2 MB, free: 7.336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.2771, allocations: 176.1 kB / 430.4 MB, free: 7.152 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.2771, allocations: 29.7 kB / 430.4 MB, free: 7.117 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.2772, allocations: 148.4 kB / 430.6 MB, free: 6.969 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.864e-05/0.2773, allocations: 63.44 kB / 430.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.117e-05/0.2774, allocations: 33.7 kB / 430.7 MB, free: 6.867 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.2775, allocations: 334.8 kB / 431 MB, free: 6.531 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.2776, allocations: 51.98 kB / 431 MB, free: 6.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.2778, allocations: 72.88 kB / 431.1 MB, free: 6.406 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.2781, allocations: 121.7 kB / 431.2 MB, free: 6.281 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.2781, allocations: 0 / 431.2 MB, free: 6.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004591/0.2785, allocations: 220.9 kB / 431.4 MB, free: 6.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.2785, allocations: 4 kB / 431.4 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2786, allocations: 0 / 431.4 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/0.28, allocations: 232.4 kB / 431.7 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.2801, allocations: 35.92 kB / 431.7 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005656/0.2807, allocations: 0.6109 MB / 432.3 MB, free: 5.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.2808, allocations: 11.92 kB / 432.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.2809, allocations: 15.98 kB / 432.3 MB, free: 5.125 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.281, allocations: 133.7 kB / 432.5 MB, free: 4.984 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.281, allocations: 15.91 kB / 432.5 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004862/0.2815, allocations: 224.2 kB / 432.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2815, allocations: 7.938 kB / 432.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.2815, allocations: 3.984 kB / 432.7 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2815, allocations: 0 / 432.7 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009627/0.2825, allocations: 0.5614 MB / 433.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2825, allocations: 0 / 433.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.2827, allocations: 35.95 kB / 433.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001124/0.2838, allocations: 204.6 kB / 433.5 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.2838, allocations: 0 / 433.5 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005417/0.2844, allocations: 0.6187 MB / 434.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.2844, allocations: 4.031 kB / 434.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008948/0.2852, allocations: 423.8 kB / 434.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.2853, allocations: 23.77 kB / 434.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.2853, allocations: 12.06 kB / 434.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.2855, allocations: 8 kB / 434.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.2855, allocations: 11.97 kB / 434.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.2855, allocations: 4 kB / 434.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.2857, allocations: 139.5 kB / 434.7 MB, free: 2.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2857, allocations: 0 / 434.7 MB, free: 2.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003224/0.286, allocations: 63.83 kB / 434.8 MB, free: 2.535 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000154/0.2861, allocations: 107.2 kB / 434.9 MB, free: 2.418 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004281/0.2866, allocations: 139.9 kB / 435 MB, free: 2.281 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2866, allocations: 0 / 435 MB, free: 2.281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.2868, allocations: 75.91 kB / 435.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.2871, allocations: 41.17 kB / 435.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.2882, allocations: 0.563 MB / 435.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.2886, allocations: 0.7361 MB / 436.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.328e-05/0.2886, allocations: 13.48 kB / 436.5 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.2887, allocations: 15.44 kB / 436.5 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2887, allocations: 0 / 436.5 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of Templates: time 0.006891/0.2956, allocations: 2.726 MB / 439.2 MB, free: 14.08 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.67223019246012]