Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor") translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001384/0.001384, allocations: 173.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007814/0.0007813, allocations: 86.66 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003469, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2503, allocations: 47.57 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002343/0.2527, allocations: 1.795 MB / 376.9 MB, free: 44.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009181/0.2537, allocations: 471.4 kB / 377.3 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.2539, allocations: 2.125 kB / 377.3 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.2541, allocations: 17.97 kB / 377.4 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.2542, allocations: 44.73 kB / 377.4 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.2545, allocations: 28.98 kB / 377.4 MB, free: 43.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.2548, allocations: 149.5 kB / 377.6 MB, free: 43.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.255, allocations: 58.19 kB / 377.6 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.2551, allocations: 47.92 kB / 377.7 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.2552, allocations: 55.61 kB / 377.7 MB, free: 43.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.2553, allocations: 6.188 kB / 377.7 MB, free: 43.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-05/0.2554, allocations: 9.844 kB / 377.8 MB, free: 43.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.2554, allocations: 23.11 kB / 377.8 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.65e-05/0.2555, allocations: 92.58 kB / 377.9 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.2557, allocations: 119 kB / 378 MB, free: 43.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2557, allocations: 0 / 378 MB, free: 43.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.2557, allocations: 1.125 kB / 378 MB, free: 43.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.2558, allocations: 0 / 378 MB, free: 43.21 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005638/0.2563, allocations: 416 kB / 378.4 MB, free: 42.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.2564, allocations: 13.22 kB / 378.4 MB, free: 42.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.2565, allocations: 17.88 kB / 378.4 MB, free: 42.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.2567, allocations: 210.6 kB / 378.6 MB, free: 42.56 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.2568, allocations: 9.203 kB / 378.6 MB, free: 42.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.2568, allocations: 12.38 kB / 378.6 MB, free: 42.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.2571, allocations: 122.5 kB / 378.8 MB, free: 42.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.2571, allocations: 0 / 378.8 MB, free: 42.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.2572, allocations: 5.344 kB / 378.8 MB, free: 42.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.2572, allocations: 7.469 kB / 378.8 MB, free: 42.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.2574, allocations: 85.34 kB / 378.9 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008568/0.2582, allocations: 0.6102 MB / 379.5 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.2586, allocations: 86.31 kB / 379.6 MB, free: 41.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.272e-05/0.2587, allocations: 37.34 kB / 379.6 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.2587, allocations: 1.5 kB / 379.6 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.2587, allocations: 35.62 kB / 379.6 MB, free: 41.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.2587, allocations: 0 / 379.6 MB, free: 41.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006739/0.2594, allocations: 265.1 kB / 379.9 MB, free: 41.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.2594, allocations: 55.34 kB / 379.9 MB, free: 41.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.2595, allocations: 148.5 kB / 380.1 MB, free: 41.31 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.2596, allocations: 29.64 kB / 380.1 MB, free: 41.28 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.2596, allocations: 131.6 kB / 380.2 MB, free: 41.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.2597, allocations: 15.31 kB / 380.3 MB, free: 41.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.2597, allocations: 4 kB / 380.3 MB, free: 41.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.994e-05/0.2597, allocations: 325.2 kB / 380.6 MB, free: 40.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.832e-05/0.2598, allocations: 21.52 kB / 380.6 MB, free: 40.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.909e-05/0.2599, allocations: 46.59 kB / 380.6 MB, free: 40.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.26, allocations: 77.53 kB / 380.7 MB, free: 40.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.26, allocations: 0 / 380.7 MB, free: 40.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000278/0.2603, allocations: 146.4 kB / 380.9 MB, free: 40.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.2603, allocations: 5.281 kB / 380.9 MB, free: 40.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.2604, allocations: 0 / 380.9 MB, free: 40.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002106/0.2606, allocations: 39.2 kB / 380.9 MB, free: 40.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.613e-05/0.2607, allocations: 11.36 kB / 380.9 MB, free: 40.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.262, allocations: 1.513 MB / 382.4 MB, free: 39.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.559e-05/0.2621, allocations: 15.97 kB / 382.5 MB, free: 39.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.2622, allocations: 2.422 kB / 382.5 MB, free: 39.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 8.854e-05/0.2622, allocations: 120.4 kB / 382.6 MB, free: 38.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.2623, allocations: 12.77 kB / 382.6 MB, free: 38.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/0.2623, allocations: 13.89 kB / 382.6 MB, free: 38.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2623, allocations: 5.125 kB / 382.6 MB, free: 38.92 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2623, allocations: 1.406 kB / 382.6 MB, free: 38.92 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2623, allocations: 0 / 382.6 MB, free: 38.92 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.2625, allocations: 214.6 kB / 382.8 MB, free: 38.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2625, allocations: 0 / 382.8 MB, free: 38.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.2626, allocations: 8.406 kB / 382.8 MB, free: 38.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001253/0.2627, allocations: 33.2 kB / 382.9 MB, free: 38.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.2627, allocations: 5.156 kB / 382.9 MB, free: 38.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.2638, allocations: 1.5 MB / 384.4 MB, free: 37.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.2638, allocations: 5.078 kB / 384.4 MB, free: 37.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.2641, allocations: 220.1 kB / 384.6 MB, free: 36.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.177e-05/0.2641, allocations: 91.2 kB / 384.7 MB, free: 36.87 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.2641, allocations: 5.188 kB / 384.7 MB, free: 36.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.2642, allocations: 9.516 kB / 384.7 MB, free: 36.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.2643, allocations: 3.25 kB / 384.7 MB, free: 36.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.2643, allocations: 5.438 kB / 384.7 MB, free: 36.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.661e-05/0.2644, allocations: 116.4 kB / 384.8 MB, free: 36.76 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2644, allocations: 1.5 kB / 384.8 MB, free: 36.76 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003574/0.2647, allocations: 35.5 kB / 384.8 MB, free: 36.75 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001029/0.2649, allocations: 99.16 kB / 384.9 MB, free: 36.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003723/0.2652, allocations: 196.2 kB / 385.1 MB, free: 36.51 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2652, allocations: 0 / 385.1 MB, free: 36.51 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.2654, allocations: 157.1 kB / 385.3 MB, free: 36.37 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.2657, allocations: 8.531 kB / 385.3 MB, free: 36.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005443/0.2663, allocations: 382.7 kB / 385.7 MB, free: 36.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.2664, allocations: 0.7156 MB / 386.4 MB, free: 35.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.2665, allocations: 10.38 kB / 386.4 MB, free: 35.33 MB / 298.7 MB Notification: Performance of SimCode: time 3.4e-07/0.2665, allocations: 0 / 386.4 MB, free: 35.33 MB / 298.7 MB Notification: Performance of Templates: time 0.004127/0.2706, allocations: 1.883 MB / 388.3 MB, free: 34.35 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingResistor/HeatingResistor.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches