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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 115.1 kB / 17.07 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 196 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 47.92 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4538/0.4551, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.005281/0.4605, allocations: 2.523 MB / 403.3 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.4618, allocations: 0.6544 MB / 403.9 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.4619, allocations: 4 kB / 403.9 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.4621, allocations: 35.64 kB / 403.9 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.4622, allocations: 71.34 kB / 404 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.4626, allocations: 83.77 kB / 404.1 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.4629, allocations: 282.7 kB / 404.4 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.4631, allocations: 88.34 kB / 404.5 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.4632, allocations: 111.6 kB / 404.6 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.4635, allocations: 119.4 kB / 404.7 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.934e-05/0.4635, allocations: 24 kB / 404.7 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.955e-05/0.4636, allocations: 35.98 kB / 404.7 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.4637, allocations: 51.84 kB / 404.8 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.4638, allocations: 123.4 kB / 404.9 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.4642, allocations: 276.2 kB / 405.2 MB, free: 4.402 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4642, allocations: 0 / 405.2 MB, free: 4.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4642, allocations: 0 / 405.2 MB, free: 4.402 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.4642, allocations: 4 kB / 405.2 MB, free: 4.398 MB / 318.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.001066/0.4653, allocations: 0.5264 MB / 405.7 MB, free: 3.824 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.4654, allocations: 8.031 kB / 405.7 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.101e-05/0.4654, allocations: 28.59 kB / 405.7 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.4658, allocations: 247.8 kB / 406 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.4659, allocations: 20.75 kB / 406 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/0.4659, allocations: 16.38 kB / 406 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003781/0.4663, allocations: 191.6 kB / 406.2 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.4663, allocations: 8 kB / 406.2 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.4664, allocations: 4 kB / 406.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.4664, allocations: 7.938 kB / 406.2 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.4667, allocations: 149.7 kB / 406.4 MB, free: 3.109 MB / 318.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.001437/0.4681, allocations: 0.9334 MB / 407.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003671/0.4685, allocations: 150.6 kB / 407.5 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.4688, allocations: 96.81 kB / 407.6 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.4688, allocations: 0 / 407.6 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.4688, allocations: 38.56 kB / 407.6 MB, free: 1.766 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.4689, allocations: 0 / 407.6 MB, free: 1.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001349/0.4702, allocations: 415.4 kB / 408 MB, free: 1.332 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.4703, allocations: 55.41 kB / 408.1 MB, free: 1.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.4705, allocations: 175.5 kB / 408.2 MB, free: 1.082 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.4705, allocations: 37.7 kB / 408.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.4706, allocations: 144.1 kB / 408.4 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.716e-05/0.4707, allocations: 63.17 kB / 408.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.511e-05/0.4708, allocations: 41.61 kB / 408.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.471, allocations: 330.7 kB / 408.8 MB, free: 464 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.4711, allocations: 55.97 kB / 408.9 MB, free: 408 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.4712, allocations: 67.38 kB / 408.9 MB, free: 336 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.4715, allocations: 125.7 kB / 409.1 MB, free: 204 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4715, allocations: 0 / 409.1 MB, free: 204 kB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004121/0.4719, allocations: 217.2 kB / 409.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.472, allocations: 4 kB / 409.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.472, allocations: 7.984 kB / 409.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/0.4734, allocations: 220.6 kB / 409.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.4735, allocations: 31.92 kB / 409.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004672/0.474, allocations: 0.6108 MB / 410.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.4741, allocations: 15.92 kB / 410.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.4742, allocations: 12 kB / 410.2 MB, free: 15.05 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.0001291/0.4743, allocations: 133.7 kB / 410.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.4743, allocations: 11.91 kB / 410.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004498/0.4748, allocations: 236.1 kB / 410.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4748, allocations: 0 / 410.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4748, allocations: 4 kB / 410.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4748, allocations: 8 kB / 410.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008417/0.4757, allocations: 0.5921 MB / 411.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.4757, allocations: 0 / 411.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.4759, allocations: 39.84 kB / 411.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/0.4769, allocations: 200.6 kB / 411.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.4769, allocations: 8 kB / 411.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004924/0.4774, allocations: 0.6186 MB / 412 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4774, allocations: 4.031 kB / 412 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008079/0.4783, allocations: 420.8 kB / 412.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.4783, allocations: 96.83 kB / 412.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.4784, allocations: 4 kB / 412.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.4785, allocations: 11.98 kB / 412.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.4786, allocations: 19.95 kB / 412.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.4786, allocations: 4 kB / 412.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.439e-05/0.4787, allocations: 128.3 kB / 412.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4787, allocations: 0 / 412.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003107/0.479, allocations: 63.83 kB / 412.8 MB, free: 12.32 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.0001756/0.4792, allocations: 115.1 kB / 412.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004006/0.4796, allocations: 158.5 kB / 413 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4796, allocations: 0 / 413 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.4798, allocations: 79.91 kB / 413.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.4801, allocations: 35.92 kB / 413.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009767/0.4811, allocations: 0.5561 MB / 413.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.4815, allocations: 0.7361 MB / 414.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.708e-05/0.4815, allocations: 13.64 kB / 414.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.4816, allocations: 19.38 kB / 414.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4816, allocations: 4 kB / 414.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of Templates: time 0.005807/0.4874, allocations: 2.564 MB / 417 MB, free: 8.012 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (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) 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) Reference file matches