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.001172/0.001172, allocations: 113.2 kB / 17.73 MB, free: 5.324 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.001014/0.001014, allocations: 184.2 kB / 18.67 MB, free: 4.395 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.523/1.523, allocations: 205.1 MB / 224.5 MB, free: 12.29 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.001087/0.001087, allocations: 51.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09971/0.1008, allocations: 46.62 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003674/0.1045, allocations: 2.462 MB / 377.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1059, allocations: 0.6747 MB / 378.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.106, allocations: 4 kB / 378.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.1062, allocations: 35.66 kB / 378.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.1064, allocations: 75.33 kB / 378.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.1067, allocations: 79.78 kB / 378.5 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.1071, allocations: 274.7 kB / 378.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000251/0.1073, allocations: 88.33 kB / 378.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.1075, allocations: 107.6 kB / 378.9 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.1077, allocations: 115.5 kB / 379 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/0.1078, allocations: 20 kB / 379.1 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.1079, allocations: 32 kB / 379.1 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.108, allocations: 63.75 kB / 379.2 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.1081, allocations: 115.5 kB / 379.3 MB, free: 436 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.1085, allocations: 278.9 kB / 379.5 MB, free: 156 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.21e-05/0.1085, allocations: 4 kB / 379.5 MB, free: 152 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.1086, allocations: 0 / 379.5 MB, free: 152 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.1086, allocations: 0 / 379.5 MB, free: 152 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.1711/0.2796, allocations: 0.5251 MB / 380.1 MB, free: 13.08 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.2797, allocations: 12.12 kB / 380.1 MB, free: 13.08 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.547e-05/0.2798, allocations: 25.67 kB / 380.1 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.2802, allocations: 240.4 kB / 380.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.2803, allocations: 15.81 kB / 380.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.396e-05/0.2803, allocations: 26.45 kB / 380.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.2807, allocations: 187.8 kB / 380.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.2808, allocations: 7.359 kB / 380.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.2808, allocations: 13 kB / 380.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.2808, allocations: 5.5 kB / 380.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003421/0.2812, allocations: 152.2 kB / 380.7 MB, free: 12.81 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.001371/0.2825, allocations: 0.9237 MB / 381.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.2829, allocations: 152.3 kB / 381.8 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.2832, allocations: 94.81 kB / 381.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.2832, allocations: 3.031 kB / 381.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.2832, allocations: 38.31 kB / 381.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.2832, allocations: 0 / 381.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001287/0.2845, allocations: 424.3 kB / 382.4 MB, free: 12.01 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.2846, allocations: 53.78 kB / 382.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.2848, allocations: 170.5 kB / 382.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.2848, allocations: 34.58 kB / 382.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/0.2849, allocations: 150.3 kB / 382.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.2849, allocations: 63.95 kB / 382.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/0.285, allocations: 37.14 kB / 382.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.265e-05/0.285, allocations: 324.4 kB / 383.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.2851, allocations: 55.91 kB / 383.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.2853, allocations: 74.23 kB / 383.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.2856, allocations: 123.5 kB / 383.4 MB, free: 11.15 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2856, allocations: 3.672 kB / 383.4 MB, free: 11.15 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004062/0.286, allocations: 217.7 kB / 383.6 MB, free: 11.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.286, allocations: 12.16 kB / 383.7 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.286, allocations: 0 / 383.7 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.2873, allocations: 225.6 kB / 383.9 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.2875, allocations: 33.84 kB / 383.9 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003912/0.2879, allocations: 0.6072 MB / 384.5 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.288, allocations: 15.69 kB / 384.5 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.288, allocations: 12.75 kB / 384.5 MB, free: 10.43 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 9.881e-05/0.2881, allocations: 127.5 kB / 384.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.2882, allocations: 20.95 kB / 384.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004874/0.2887, allocations: 231.7 kB / 384.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2887, allocations: 2.531 kB / 384.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2887, allocations: 0 / 384.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2887, allocations: 2.266 kB / 384.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007431/0.2894, allocations: 0.5865 MB / 385.5 MB, free: 9.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2894, allocations: 5.406 kB / 385.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.2896, allocations: 30.33 kB / 385.5 MB, free: 9.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000971/0.2906, allocations: 205.2 kB / 385.7 MB, free: 9.695 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.2906, allocations: 5.953 kB / 385.7 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003254/0.2909, allocations: 0.6224 MB / 386.4 MB, free: 9.121 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2909, allocations: 6.078 kB / 386.4 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006911/0.2916, allocations: 421.4 kB / 386.8 MB, free: 8.871 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.2917, allocations: 99.06 kB / 386.9 MB, free: 8.762 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.2917, allocations: 6.516 kB / 386.9 MB, free: 8.758 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.2919, allocations: 7.281 kB / 386.9 MB, free: 8.758 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.2919, allocations: 17.02 kB / 386.9 MB, free: 8.754 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.2919, allocations: 4.984 kB / 386.9 MB, free: 8.754 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.54e-05/0.292, allocations: 133.1 kB / 387 MB, free: 8.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2921, allocations: 0 / 387 MB, free: 8.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000281/0.2923, allocations: 55.98 kB / 387.1 MB, free: 8.648 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.0001478/0.2925, allocations: 125.2 kB / 387.2 MB, free: 8.543 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004141/0.2929, allocations: 151.7 kB / 387.4 MB, free: 8.496 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2929, allocations: 0 / 387.4 MB, free: 8.496 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.2931, allocations: 85.03 kB / 387.5 MB, free: 8.477 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.2934, allocations: 34.64 kB / 387.5 MB, free: 8.461 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009404/0.2944, allocations: 0.5449 MB / 388 MB, free: 8.102 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.2946, allocations: 0.7345 MB / 388.8 MB, free: 7.406 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.028e-05/0.2947, allocations: 18.11 kB / 388.8 MB, free: 7.398 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.2947, allocations: 13.94 kB / 388.8 MB, free: 7.391 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2947, allocations: 0 / 388.8 MB, free: 7.391 MB / 318.1 MB Notification: Performance of Templates: time 0.006359/0.3011, allocations: 2.576 MB / 391.4 MB, free: 7.191 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins/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