Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.63/1.63, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.000831/0.0008309, allocations: 93.17 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3632/0.3632, allocations: 43.57 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.0003781, allocations: 16 kB / 432.6 MB, free: 4.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1422, allocations: 58.84 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3684/0.5107, allocations: 86.49 MB / 0.5644 GB, free: 15.36 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001629/0.5109, allocations: 59.98 kB / 0.5645 GB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008517/0.5194, allocations: 2.913 MB / 0.5673 GB, free: 12.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5194, allocations: 4 kB / 0.5673 GB, free: 12.42 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.5194, allocations: 4 kB / 0.5673 GB, free: 12.42 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007032/0.5202, allocations: 450.5 kB / 0.5677 GB, free: 11.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.5202, allocations: 8.031 kB / 0.5677 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.5203, allocations: 12.84 kB / 0.5678 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.5206, allocations: 212.1 kB / 0.568 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.5206, allocations: 8.375 kB / 0.568 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.5206, allocations: 4.375 kB / 0.568 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.5209, allocations: 110.2 kB / 0.5681 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.5209, allocations: 4.125 kB / 0.5681 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.521, allocations: 11.92 kB / 0.5681 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.521, allocations: 0 / 0.5681 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.5211, allocations: 55.97 kB / 0.5681 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005809/0.5217, allocations: 384.6 kB / 0.5685 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.522, allocations: 110.5 kB / 0.5686 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.5222, allocations: 44.91 kB / 0.5687 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.5222, allocations: 0 / 0.5687 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002914/0.5225, allocations: 114 kB / 0.5688 GB, free: 10.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.5225, allocations: 0 / 0.5688 GB, free: 10.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004227/0.5229, allocations: 149.5 kB / 0.5689 GB, free: 10.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.523, allocations: 59.41 kB / 0.569 GB, free: 10.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.5231, allocations: 153.8 kB / 0.5691 GB, free: 10.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.5231, allocations: 25.7 kB / 0.5691 GB, free: 10.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.5232, allocations: 104 kB / 0.5692 GB, free: 10.24 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.5232, allocations: 15.8 kB / 0.5693 GB, free: 10.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-06/0.5233, allocations: 4 kB / 0.5693 GB, free: 10.22 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.5234, allocations: 322.8 kB / 0.5696 GB, free: 9.898 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.5235, allocations: 39.98 kB / 0.5696 GB, free: 9.859 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.5237, allocations: 57.62 kB / 0.5697 GB, free: 9.797 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.5239, allocations: 82.42 kB / 0.5697 GB, free: 9.711 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5239, allocations: 3.938 kB / 0.5697 GB, free: 9.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002746/0.5242, allocations: 129.6 kB / 0.5699 GB, free: 9.574 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.5242, allocations: 4 kB / 0.5699 GB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-06/0.5242, allocations: 0 / 0.5699 GB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.5242, allocations: 7.938 kB / 0.5699 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.079e-05/0.5243, allocations: 23.95 kB / 0.5699 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.5243, allocations: 4 kB / 0.5699 GB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.588e-05/0.5244, allocations: 19.98 kB / 0.5699 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.5244, allocations: 0 / 0.5699 GB, free: 9.516 MB / 394.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: 7 ($whenCondition1,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.958e-05/0.5245, allocations: 117.8 kB / 0.57 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.5246, allocations: 11.81 kB / 0.57 GB, free: 9.379 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.486e-05/0.5246, allocations: 24.64 kB / 0.5701 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.5246, allocations: 7.812 kB / 0.5701 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.5246, allocations: 0 / 0.5701 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.5246, allocations: 0 / 0.5701 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004974/0.5252, allocations: 402.3 kB / 0.5705 GB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5252, allocations: 0 / 0.5705 GB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.937e-05/0.5253, allocations: 15.98 kB / 0.5705 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.5253, allocations: 0 / 0.5705 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.5253, allocations: 4 kB / 0.5705 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5253, allocations: 0 / 0.5705 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5253, allocations: 0 / 0.5705 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004597/0.5258, allocations: 267.2 kB / 0.5707 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.5258, allocations: 89.05 kB / 0.5708 GB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.5259, allocations: 0 / 0.5708 GB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.526, allocations: 23.97 kB / 0.5708 GB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.5261, allocations: 11.98 kB / 0.5709 GB, free: 8.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.5261, allocations: 4 kB / 0.5709 GB, free: 8.465 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.312e-05/0.5262, allocations: 119.1 kB / 0.571 GB, free: 8.352 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5262, allocations: 0 / 0.571 GB, free: 8.352 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002285/0.5264, allocations: 20 kB / 0.571 GB, free: 8.332 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 5 (change.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,change.u) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001408/0.5265, allocations: 99.22 kB / 0.5711 GB, free: 8.223 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002874/0.5268, allocations: 96.89 kB / 0.5712 GB, free: 8.129 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.5269, allocations: 0 / 0.5712 GB, free: 8.129 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.527, allocations: 47.92 kB / 0.5712 GB, free: 8.082 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.5274, allocations: 24.92 kB / 0.5712 GB, free: 8.059 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005985/0.528, allocations: 251.4 kB / 0.5715 GB, free: 7.793 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.5283, allocations: 0.7042 MB / 0.5722 GB, free: 7.062 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.434e-05/0.5284, allocations: 10.03 kB / 0.5722 GB, free: 7.055 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.5284, allocations: 15.44 kB / 0.5722 GB, free: 7.043 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5284, allocations: 0 / 0.5722 GB, free: 7.043 MB / 394.7 MB Notification: Performance of Templates: time 0.003917/0.5323, allocations: 1.016 MB / 0.5732 GB, free: 6.039 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches