Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001662/0.001663, allocations: 174.2 kB / 17.36 MB, free: 4.438 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.6 MB / 223.7 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008886/0.0008884, allocations: 86.42 kB / 272.1 MB, free: 8.145 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002473/0.0002475, allocations: 4 kB / 329 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2659, allocations: 47.57 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002432/0.2684, allocations: 2.091 MB / 378.7 MB, free: 43.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.2695, allocations: 0.8042 MB / 379.5 MB, free: 43.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.2696, allocations: 2.875 kB / 379.5 MB, free: 43.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.2698, allocations: 27.12 kB / 379.5 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.2699, allocations: 59.52 kB / 379.6 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.2701, allocations: 66.17 kB / 379.6 MB, free: 43.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.2704, allocations: 263.6 kB / 379.9 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.2706, allocations: 69.64 kB / 380 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.2708, allocations: 90.55 kB / 380.1 MB, free: 42.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.2709, allocations: 101.4 kB / 380.2 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.271, allocations: 11.53 kB / 380.2 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.756e-05/0.271, allocations: 26.08 kB / 380.2 MB, free: 42.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.541e-05/0.2711, allocations: 47.25 kB / 380.2 MB, free: 42.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.2712, allocations: 131.1 kB / 380.4 MB, free: 42.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.2715, allocations: 261.7 kB / 380.6 MB, free: 42.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2715, allocations: 0 / 380.6 MB, free: 42.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.2715, allocations: 0 / 380.6 MB, free: 42.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.2715, allocations: 0 / 380.6 MB, free: 42.47 MB / 298.7 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.0006842/0.2722, allocations: 0.4928 MB / 381.1 MB, free: 42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2722, allocations: 9.344 kB / 381.1 MB, free: 42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.2723, allocations: 25.5 kB / 381.2 MB, free: 41.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.2725, allocations: 236.6 kB / 381.4 MB, free: 41.74 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.2726, allocations: 12.75 kB / 381.4 MB, free: 41.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/0.2726, allocations: 26.03 kB / 381.4 MB, free: 41.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.273, allocations: 197.3 kB / 381.6 MB, free: 41.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.273, allocations: 8 kB / 381.6 MB, free: 41.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.273, allocations: 10.22 kB / 381.6 MB, free: 41.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.273, allocations: 5.406 kB / 381.6 MB, free: 41.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.2733, allocations: 152.1 kB / 381.8 MB, free: 41.51 MB / 298.7 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.001187/0.2745, allocations: 0.9339 MB / 382.7 MB, free: 40.65 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.2748, allocations: 153.8 kB / 382.9 MB, free: 40.56 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.275, allocations: 101.9 kB / 383 MB, free: 40.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.2751, allocations: 6.094 kB / 383 MB, free: 40.51 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.2751, allocations: 36.69 kB / 383 MB, free: 40.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.2751, allocations: 0 / 383 MB, free: 40.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001197/0.2763, allocations: 426.6 kB / 383.4 MB, free: 40.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.2763, allocations: 56.69 kB / 383.5 MB, free: 40.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.2765, allocations: 168.7 kB / 383.6 MB, free: 39.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.2765, allocations: 31.05 kB / 383.7 MB, free: 39.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.2766, allocations: 142.7 kB / 383.8 MB, free: 39.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.2766, allocations: 62.38 kB / 383.9 MB, free: 39.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.365e-06/0.2766, allocations: 3.938 kB / 383.9 MB, free: 39.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.61e-05/0.2767, allocations: 335.4 kB / 384.2 MB, free: 39.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.2768, allocations: 50.77 kB / 384.3 MB, free: 39.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.2769, allocations: 74.56 kB / 384.3 MB, free: 39.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.2772, allocations: 129.5 kB / 384.5 MB, free: 39.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2772, allocations: 4 kB / 384.5 MB, free: 39.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000446/0.2776, allocations: 225.9 kB / 384.7 MB, free: 39.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2777, allocations: 9.719 kB / 384.7 MB, free: 39.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2777, allocations: 1.156 kB / 384.7 MB, free: 39.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001351/0.279, allocations: 219.4 kB / 384.9 MB, free: 39.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.2792, allocations: 37.41 kB / 384.9 MB, free: 39.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003609/0.2796, allocations: 0.603 MB / 385.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.2797, allocations: 22.03 kB / 385.6 MB, free: 38.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.2797, allocations: 4.844 kB / 385.6 MB, free: 38.47 MB / 298.7 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 9.653e-05/0.2798, allocations: 135.1 kB / 385.7 MB, free: 38.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.2799, allocations: 20.17 kB / 385.7 MB, free: 38.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004252/0.2803, allocations: 229.8 kB / 385.9 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2803, allocations: 5.25 kB / 386 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2804, allocations: 1.375 kB / 386 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2804, allocations: 3.984 kB / 386 MB, free: 38.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007536/0.2811, allocations: 0.6032 MB / 386.6 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2811, allocations: 0 / 386.6 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.2813, allocations: 30.66 kB / 386.6 MB, free: 37.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/0.2824, allocations: 213.7 kB / 386.8 MB, free: 37.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.2824, allocations: 2.781 kB / 386.8 MB, free: 37.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003133/0.2827, allocations: 0.6216 MB / 387.4 MB, free: 36.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2827, allocations: 4.984 kB / 387.4 MB, free: 36.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007261/0.2835, allocations: 432.3 kB / 387.9 MB, free: 36.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/0.2835, allocations: 99.11 kB / 387.9 MB, free: 36.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.2835, allocations: 1.75 kB / 387.9 MB, free: 36.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.2837, allocations: 22.33 kB / 388 MB, free: 36.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.2837, allocations: 13.08 kB / 388 MB, free: 36.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.2838, allocations: 8.281 kB / 388 MB, free: 36.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.818e-05/0.2839, allocations: 125.5 kB / 388.1 MB, free: 36.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2839, allocations: 0 / 388.1 MB, free: 36.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000294/0.2842, allocations: 62.59 kB / 388.2 MB, free: 36.41 MB / 298.7 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.0001458/0.2843, allocations: 121 kB / 388.3 MB, free: 36.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000349/0.2847, allocations: 149.3 kB / 388.4 MB, free: 36.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2847, allocations: 0 / 388.4 MB, free: 36.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.2849, allocations: 92.61 kB / 388.5 MB, free: 36.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.2852, allocations: 27.92 kB / 388.6 MB, free: 36.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008569/0.2861, allocations: 0.6945 MB / 389.3 MB, free: 35.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.2862, allocations: 0.7362 MB / 390 MB, free: 34.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.54e-05/0.2863, allocations: 21.53 kB / 390 MB, free: 34.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.2863, allocations: 11.44 kB / 390 MB, free: 34.5 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2863, allocations: 0 / 390 MB, free: 34.5 MB / 298.7 MB Notification: Performance of Templates: time 0.004665/0.291, allocations: 2.364 MB / 392.4 MB, free: 32.14 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches