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.0008011/0.0008011, allocations: 84.44 kB / 20.69 MB, free: 3.875 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.0007653/0.0007653, allocations: 169.9 kB / 23.96 MB, free: 0.6016 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.7783/0.7783, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.1184/0.1184, allocations: 32.36 MB / 270.3 MB, free: 14.98 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: translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 3.938 kB / 408.1 MB, free: 1.762 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.031e-05, allocations: 6.078 kB / 408.1 MB, free: 1.758 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.001828/0.001848, allocations: 1.612 MB / 409.7 MB, free: 140 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007351/0.002584, allocations: 0.5813 MB / 410.3 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.453e-05/0.002658, allocations: 4 kB / 410.3 MB, free: 15.54 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.002761, allocations: 7.875 kB / 410.3 MB, free: 15.54 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.055e-05/0.002802, allocations: 15.8 kB / 410.3 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.003083, allocations: 95.69 kB / 410.4 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.003214, allocations: 119.7 kB / 410.5 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.003318, allocations: 19.92 kB / 410.5 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.138e-05/0.003399, allocations: 67.88 kB / 410.6 MB, free: 15.22 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.085e-05/0.00345, allocations: 23.91 kB / 410.6 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.003473, allocations: 8 kB / 410.6 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.003485, allocations: 8 kB / 410.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.003509, allocations: 27.91 kB / 410.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.00354, allocations: 23.92 kB / 410.7 MB, free: 15.13 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.003666, allocations: 99.61 kB / 410.8 MB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003668, allocations: 0 / 410.8 MB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.003669, allocations: 4 kB / 410.8 MB, free: 15.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.003673, allocations: 0 / 410.8 MB, free: 15.03 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.0004475/0.00412, allocations: 346.8 kB / 411.1 MB, free: 14.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.004154, allocations: 12.02 kB / 411.1 MB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.004188, allocations: 8.891 kB / 411.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.004362, allocations: 153.5 kB / 411.3 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.004375, allocations: 8.375 kB / 411.3 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.004394, allocations: 8.375 kB / 411.3 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.004564, allocations: 98.2 kB / 411.4 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.004571, allocations: 192 / 411.4 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.004581, allocations: 384 / 411.4 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.004588, allocations: 7.938 kB / 411.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.28e-05/0.004681, allocations: 59.89 kB / 411.5 MB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.005087, allocations: 312.2 kB / 411.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.005276, allocations: 98.52 kB / 411.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.005332, allocations: 36.91 kB / 411.9 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.005343, allocations: 7.938 kB / 411.9 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.005484, allocations: 99.31 kB / 412 MB, free: 13.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.005485, allocations: 4 kB / 412 MB, free: 13.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002679/0.005753, allocations: 137.6 kB / 412.2 MB, free: 13.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.005786, allocations: 55.41 kB / 412.2 MB, free: 13.47 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.308e-05/0.005859, allocations: 133.8 kB / 412.3 MB, free: 13.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.005872, allocations: 29.7 kB / 412.4 MB, free: 13.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.005917, allocations: 108.2 kB / 412.5 MB, free: 13.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.005938, allocations: 19.94 kB / 412.5 MB, free: 13.17 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.005971, allocations: 29.7 kB / 412.5 MB, free: 13.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.469e-05/0.006045, allocations: 322.8 kB / 412.8 MB, free: 12.81 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.097e-05/0.006106, allocations: 35.97 kB / 412.9 MB, free: 12.78 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.981e-05/0.006176, allocations: 49.69 kB / 412.9 MB, free: 12.72 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.006285, allocations: 77.62 kB / 413 MB, free: 12.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.006287, allocations: 0 / 413 MB, free: 12.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001468/0.006434, allocations: 125.7 kB / 413.1 MB, free: 12.51 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.006445, allocations: 4 kB / 413.1 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.00645, allocations: 0 / 413.1 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.006461, allocations: 4 kB / 413.1 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.909e-05/0.00652, allocations: 19.98 kB / 413.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.006525, allocations: 320 / 413.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.006566, allocations: 11.98 kB / 413.2 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.006571, allocations: 4 kB / 413.2 MB, free: 12.47 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 6.42e-05/0.006635, allocations: 129.7 kB / 413.3 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-06/0.006645, allocations: 11.95 kB / 413.3 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.006668, allocations: 12.78 kB / 413.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.00667, allocations: 0 / 413.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.006675, allocations: 3.984 kB / 413.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.006678, allocations: 0 / 413.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.006959, allocations: 338 kB / 413.7 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.00696, allocations: 0 / 413.7 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.007005, allocations: 15.92 kB / 413.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.007006, allocations: 0 / 413.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.007014, allocations: 0 / 413.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.007015, allocations: 0 / 413.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.007017, allocations: 4 kB / 413.7 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.007255, allocations: 247.4 kB / 413.9 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.007266, allocations: 11.92 kB / 413.9 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.007277, allocations: 0 / 413.9 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.275e-05/0.00734, allocations: 23.97 kB / 414 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.007379, allocations: 11.92 kB / 414 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.007384, allocations: 4 kB / 414 MB, free: 11.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.994e-05/0.007424, allocations: 103.3 kB / 414.1 MB, free: 11.51 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007424, allocations: 0 / 414.1 MB, free: 11.51 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001509/0.007575, allocations: 23.98 kB / 414.1 MB, free: 11.49 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 6.665e-05/0.007642, allocations: 95.19 kB / 414.2 MB, free: 11.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.0078, allocations: 75.94 kB / 414.3 MB, free: 11.31 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.007801, allocations: 4.062 kB / 414.3 MB, free: 11.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.04e-05/0.007872, allocations: 47.91 kB / 414.3 MB, free: 11.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.008076, allocations: 24.2 kB / 414.3 MB, free: 11.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.008425, allocations: 242.7 kB / 414.6 MB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.258e-05/0.008478, allocations: 89.44 kB / 414.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.008509, allocations: 12.5 kB / 414.7 MB, free: 10.84 MB / 394.7 MB Notification: Performance of SimCode: time 3.5e-07/0.008509, allocations: 0 / 414.7 MB, free: 10.84 MB / 394.7 MB Notification: Performance of Templates: time 0.001856/0.01037, allocations: 1.328 MB / 416 MB, free: 9.512 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (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) [Timeout 480] 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: 4.158926730044186]