Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001359/0.001359, allocations: 108.3 kB / 18.4 MB, free: 4.672 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.001539/0.001539, allocations: 184.2 kB / 19.33 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 47.92 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08252/0.0837, allocations: 46.61 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003943/0.08769, allocations: 2.455 MB / 378.3 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.08903, allocations: 0.6825 MB / 379 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.08917, allocations: 4 kB / 379 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.08937, allocations: 39.58 kB / 379 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.0895, allocations: 71.39 kB / 379.1 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.08983, allocations: 79.8 kB / 379.1 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003202/0.09016, allocations: 274.7 kB / 379.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.09038, allocations: 88.28 kB / 379.5 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.09056, allocations: 115.6 kB / 379.6 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.09074, allocations: 107.5 kB / 379.7 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.09079, allocations: 24 kB / 379.7 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.023e-05/0.09088, allocations: 39.92 kB / 379.8 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.09094, allocations: 51.83 kB / 379.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.09106, allocations: 119.4 kB / 379.9 MB, free: 436 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.09143, allocations: 283 kB / 380.2 MB, free: 152 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.09144, allocations: 0 / 380.2 MB, free: 152 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.09145, allocations: 0 / 380.2 MB, free: 152 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.09146, allocations: 4 kB / 380.2 MB, free: 148 kB / 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.1797/0.2712, allocations: 0.5167 MB / 380.7 MB, free: 13.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.2712, allocations: 9.719 kB / 380.8 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.2713, allocations: 25.84 kB / 380.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.2716, allocations: 242.3 kB / 381 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.2716, allocations: 15.22 kB / 381 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.2716, allocations: 23.34 kB / 381.1 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.272, allocations: 188.4 kB / 381.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.272, allocations: 3.75 kB / 381.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.272, allocations: 13.84 kB / 381.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.272, allocations: 6.156 kB / 381.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.2723, allocations: 152.7 kB / 381.4 MB, free: 12.85 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.001123/0.2735, allocations: 0.9238 MB / 382.3 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.2737, allocations: 152.4 kB / 382.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.2739, allocations: 98.09 kB / 382.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.2739, allocations: 5.75 kB / 382.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.274, allocations: 37.03 kB / 382.6 MB, free: 12.19 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.874e-06/0.274, allocations: 2.656 kB / 382.6 MB, free: 12.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001139/0.2751, allocations: 409.9 kB / 383 MB, free: 12.03 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.975e-05/0.2752, allocations: 53.97 kB / 383.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.2753, allocations: 173.1 kB / 383.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.2753, allocations: 35.41 kB / 383.3 MB, free: 11.81 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.2754, allocations: 150.1 kB / 383.4 MB, free: 11.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.2754, allocations: 59.16 kB / 383.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/0.2755, allocations: 40.8 kB / 383.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.671e-05/0.2755, allocations: 324.1 kB / 383.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.2757, allocations: 55.84 kB / 383.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.2758, allocations: 73.12 kB / 384 MB, free: 11.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.276, allocations: 127.6 kB / 384.1 MB, free: 11.17 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.276, allocations: 0.5625 kB / 384.1 MB, free: 11.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003978/0.2764, allocations: 218.3 kB / 384.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2765, allocations: 8.812 kB / 384.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2765, allocations: 1.281 kB / 384.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.2777, allocations: 220 kB / 384.5 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.2778, allocations: 34.86 kB / 384.6 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003195/0.2782, allocations: 0.609 MB / 385.2 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.2783, allocations: 25 kB / 385.2 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.2783, allocations: 4.844 kB / 385.2 MB, free: 10.45 MB / 318.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 7.991e-05/0.2784, allocations: 126.5 kB / 385.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.2784, allocations: 21 kB / 385.3 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003917/0.2788, allocations: 231 kB / 385.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2788, allocations: 2 kB / 385.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2788, allocations: 4 kB / 385.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.2789, allocations: 2.219 kB / 385.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006991/0.2796, allocations: 0.5874 MB / 386.2 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2796, allocations: 0 / 386.2 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.2797, allocations: 30.77 kB / 386.2 MB, free: 9.754 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000982/0.2807, allocations: 204.5 kB / 386.4 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.2807, allocations: 6.328 kB / 386.4 MB, free: 9.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002941/0.281, allocations: 0.6264 MB / 387 MB, free: 9.148 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.281, allocations: 1.031 kB / 387 MB, free: 9.148 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006723/0.2817, allocations: 421.8 kB / 387.4 MB, free: 8.898 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.2818, allocations: 98.97 kB / 387.5 MB, free: 8.793 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.2818, allocations: 6.797 kB / 387.5 MB, free: 8.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.2819, allocations: 6.766 kB / 387.5 MB, free: 8.789 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.282, allocations: 18.36 kB / 387.6 MB, free: 8.781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.282, allocations: 8.266 kB / 387.6 MB, free: 8.777 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.639e-05/0.2821, allocations: 132.3 kB / 387.7 MB, free: 8.684 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2821, allocations: 1.156 kB / 387.7 MB, free: 8.684 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.2824, allocations: 58.69 kB / 387.8 MB, free: 8.668 MB / 318.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.0001249/0.2825, allocations: 112.7 kB / 387.9 MB, free: 8.574 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003729/0.2829, allocations: 151.9 kB / 388 MB, free: 8.527 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2829, allocations: 1.969 kB / 388 MB, free: 8.527 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.2831, allocations: 84.81 kB / 388.1 MB, free: 8.504 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.2834, allocations: 31.34 kB / 388.1 MB, free: 8.492 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008122/0.2842, allocations: 0.5724 MB / 388.7 MB, free: 8.105 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.2844, allocations: 0.7384 MB / 389.4 MB, free: 7.406 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.2844, allocations: 14.84 kB / 389.5 MB, free: 7.398 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2844, allocations: 0 / 389.5 MB, free: 7.398 MB / 318.1 MB Notification: Performance of Templates: time 0.005394/0.2898, allocations: 3.063 MB / 392.5 MB, free: 7.148 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches