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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007829/0.0007829, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007871/0.0007871, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.819/0.819, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.131/0.131, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimResetIntegrator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_LimResetIntegrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimResetIntegrator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_LimResetIntegrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 3.938 kB / 406.8 MB, free: 2.242 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.163e-05, allocations: 5.938 kB / 406.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.001995/0.002017, allocations: 1.612 MB / 408.4 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007801/0.002797, allocations: 0.5735 MB / 409 MB, free: 36 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.415e-05/0.002871, allocations: 7.938 kB / 409 MB, free: 28 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.002988, allocations: 7.875 kB / 409 MB, free: 20 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.144e-05/0.00304, allocations: 19.8 kB / 409 MB, free: 0 / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.003369, allocations: 91.75 kB / 409.1 MB, free: 15.91 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004602/0.003829, allocations: 107.8 kB / 409.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.003957, allocations: 35.8 kB / 409.3 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.732e-05/0.004055, allocations: 67.81 kB / 409.3 MB, free: 15.7 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/0.004122, allocations: 35.89 kB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.004152, allocations: 8 kB / 409.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.004164, allocations: 8 kB / 409.4 MB, free: 15.65 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.004192, allocations: 19.92 kB / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.004231, allocations: 27.91 kB / 409.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.004375, allocations: 87.75 kB / 409.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.004379, allocations: 4 kB / 409.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.00438, allocations: 0 / 409.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.004385, allocations: 0 / 409.5 MB, free: 15.52 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.0005373/0.004923, allocations: 346.8 kB / 409.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.004965, allocations: 8.031 kB / 409.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.004999, allocations: 38.67 kB / 409.9 MB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.005032, allocations: 16.89 kB / 409.9 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.005244, allocations: 145.5 kB / 410.1 MB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.00526, allocations: 8.375 kB / 410.1 MB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.005287, allocations: 8.375 kB / 410.1 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.005486, allocations: 102.1 kB / 410.2 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.005496, allocations: 192 / 410.2 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.005511, allocations: 12.12 kB / 410.2 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.005516, allocations: 3.938 kB / 410.2 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.005617, allocations: 55.89 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.006106, allocations: 343.8 kB / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.00631, allocations: 102.4 kB / 410.7 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.945e-05/0.00637, allocations: 40.92 kB / 410.7 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.006382, allocations: 0 / 410.7 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.006549, allocations: 95.34 kB / 410.8 MB, free: 14.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.00655, allocations: 0 / 410.8 MB, free: 14.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002687/0.006818, allocations: 141.5 kB / 411 MB, free: 13.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.00685, allocations: 51.41 kB / 411 MB, free: 13.87 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.925e-05/0.006939, allocations: 161.6 kB / 411.2 MB, free: 13.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.006952, allocations: 29.7 kB / 411.2 MB, free: 13.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.006995, allocations: 100.1 kB / 411.3 MB, free: 13.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.007014, allocations: 19.84 kB / 411.3 MB, free: 13.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.007047, allocations: 33.7 kB / 411.4 MB, free: 13.51 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.962e-05/0.007117, allocations: 318.8 kB / 411.7 MB, free: 13.19 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.204e-05/0.007179, allocations: 35.98 kB / 411.7 MB, free: 13.15 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.096e-05/0.00725, allocations: 49.69 kB / 411.8 MB, free: 13.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.007364, allocations: 85.8 kB / 411.8 MB, free: 13.01 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.007367, allocations: 0 / 411.8 MB, free: 13.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001474/0.007514, allocations: 121.5 kB / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.007524, allocations: 4 kB / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.00753, allocations: 4.031 kB / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.007541, allocations: 3.938 kB / 412 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.892e-05/0.0076, allocations: 15.98 kB / 412 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.007605, allocations: 8.25 kB / 412 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.573e-05/0.007651, allocations: 19.88 kB / 412 MB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.007657, allocations: 4 kB / 412 MB, free: 12.82 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,integrator.reset,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,change.u,$PRE.change.u,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.97e-05/0.007717, allocations: 117.8 kB / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-06/0.007726, allocations: 11.95 kB / 412.1 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.007749, allocations: 16.77 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.007754, allocations: 3.938 kB / 412.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.007757, allocations: 0 / 412.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.00776, allocations: 3.938 kB / 412.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.008056, allocations: 349.5 kB / 412.5 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.008057, allocations: 0 / 412.5 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.774e-05/0.008105, allocations: 27.92 kB / 412.5 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.008106, allocations: 0 / 412.5 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.008113, allocations: 0 / 412.5 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.008114, allocations: 0 / 412.5 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.008115, allocations: 0 / 412.5 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.008362, allocations: 247.4 kB / 412.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.008375, allocations: 19.84 kB / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.008388, allocations: 0 / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.415e-05/0.008452, allocations: 15.98 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.008493, allocations: 15.97 kB / 412.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.008499, allocations: 4 kB / 412.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.962e-05/0.008549, allocations: 115.2 kB / 412.9 MB, free: 11.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008549, allocations: 0 / 412.9 MB, free: 11.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001456/0.008694, allocations: 16.06 kB / 413 MB, free: 11.81 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 (integrator.reset,$whenCondition2,$whenCondition1,change.u,booleanPulse.pulseStart) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003853/0.00908, allocations: 0.771 MB / 413.7 MB, free: 11.01 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.009243, allocations: 87.94 kB / 413.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009245, allocations: 0 / 413.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.856e-05/0.009313, allocations: 40.2 kB / 413.9 MB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.009518, allocations: 27.86 kB / 413.9 MB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.01074, allocations: 1.657 MB / 415.5 MB, free: 9.109 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.243e-05/0.0108, allocations: 81.44 kB / 415.6 MB, free: 9.012 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.455e-05/0.01083, allocations: 8.5 kB / 415.6 MB, free: 9.004 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.01088, allocations: 32.48 kB / 415.7 MB, free: 8.969 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.01088, allocations: 0 / 415.7 MB, free: 8.969 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.02617, allocations: 3.42 MB / 419.1 MB, free: 5.531 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.619/6.645, allocations: 4.062 kB / 419.1 MB, free: 5.527 MB / 394.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_LimResetIntegrator_fmu --startTime=0 --stopTime=5 --stepSize=0.000995025 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_LimResetIntegrator.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.50418210402131]