Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.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.001171/0.001171, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001453/0.002624, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0009974/0.0009974, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001264/0.002261, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.8713/0.8713, allocations: 158.6 MB / 171 MB, free: 2.594 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1275/0.9988, allocations: 49.5 MB / 220.5 MB, free: 1.445 MB / 218.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.1217/0.1217, allocations: 32.35 MB / 253.6 MB, free: 332 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01797/0.1396, allocations: 12.3 MB / 265.9 MB, free: 3.988 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.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 267.2 MB, free: 2.707 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.178e-05, allocations: 10.25 kB / 267.2 MB, free: 2.695 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.001526/0.001548, allocations: 0.8709 MB / 268.1 MB, free: 1.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 9.823e-05/0.001646, allocations: 51.77 kB / 268.1 MB, free: 1.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.001696, allocations: 3.938 kB / 268.1 MB, free: 1.766 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.493e-05/0.001751, allocations: 11.92 kB / 268.1 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.944e-05/0.00177, allocations: 3.938 kB / 268.1 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.858e-05/0.001829, allocations: 19.97 kB / 268.2 MB, free: 1.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.708e-05/0.001916, allocations: 39.86 kB / 268.2 MB, free: 1.691 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.448e-05/0.00199, allocations: 11.94 kB / 268.2 MB, free: 1.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.525e-05/0.002045, allocations: 31.95 kB / 268.3 MB, free: 1.648 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.307e-05/0.002078, allocations: 3.938 kB / 268.3 MB, free: 1.645 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.002096, allocations: 4 kB / 268.3 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-06/0.002105, allocations: 4 kB / 268.3 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.002118, allocations: 4 kB / 268.3 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.00214, allocations: 19.92 kB / 268.3 MB, free: 1.613 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.677e-05/0.002227, allocations: 19.92 kB / 268.3 MB, free: 1.594 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.436e-05/0.002241, allocations: 0 / 268.3 MB, free: 1.594 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.002242, allocations: 0 / 268.3 MB, free: 1.594 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.594e-05/0.002258, allocations: 4 kB / 268.3 MB, free: 1.59 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003659/0.002623, allocations: 264.4 kB / 268.6 MB, free: 1.305 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.816e-05/0.002652, allocations: 8.031 kB / 268.6 MB, free: 1.297 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.571e-05/0.002677, allocations: 4.938 kB / 268.6 MB, free: 1.293 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.002802, allocations: 125.7 kB / 268.7 MB, free: 1.145 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.002811, allocations: 4.375 kB / 268.7 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.002826, allocations: 8.375 kB / 268.7 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.722e-05/0.002893, allocations: 46.23 kB / 268.8 MB, free: 1.082 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.002899, allocations: 192 / 268.8 MB, free: 1.082 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-06/0.002905, allocations: 384 / 268.8 MB, free: 1.082 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.00291, allocations: 384 / 268.8 MB, free: 1.082 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.404e-05/0.002934, allocations: 15.86 kB / 268.8 MB, free: 1.066 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.003215, allocations: 172.2 kB / 268.9 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.172e-05/0.003256, allocations: 26.52 kB / 269 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.628e-06/0.003266, allocations: 8.922 kB / 269 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.992e-06/0.003272, allocations: 4 kB / 269 MB, free: 0.832 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.376e-05/0.003356, allocations: 47.34 kB / 269 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.003357, allocations: 0 / 269 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001049/0.003462, allocations: 41.83 kB / 269.1 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.003495, allocations: 55.34 kB / 269.1 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.483e-05/0.00355, allocations: 110.8 kB / 269.2 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.00356, allocations: 33.64 kB / 269.3 MB, free: 0.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.003592, allocations: 96.02 kB / 269.4 MB, free: 412 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.003605, allocations: 7.938 kB / 269.4 MB, free: 404 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.003631, allocations: 21.7 kB / 269.4 MB, free: 376 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.723e-05/0.003698, allocations: 314.8 kB / 269.7 MB, free: 52 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-06/0.003705, allocations: 8 kB / 269.7 MB, free: 44 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.586e-05/0.00372, allocations: 21.73 kB / 269.7 MB, free: 16 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.63e-05/0.003757, allocations: 17.8 kB / 269.7 MB, free: 15.99 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.003759, allocations: 0 / 269.7 MB, free: 15.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.793e-05/0.003807, allocations: 49.47 kB / 269.8 MB, free: 15.94 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.003825, allocations: 8 kB / 269.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.003832, allocations: 0 / 269.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.003841, allocations: 0 / 269.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.171e-05/0.003873, allocations: 7.984 kB / 269.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.003876, allocations: 7.969 kB / 269.8 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.007e-05/0.003896, allocations: 7.953 kB / 269.8 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-06/0.003899, allocations: 0 / 269.8 MB, free: 15.91 MB / 282.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: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.14e-05/0.00395, allocations: 117.8 kB / 269.9 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-06/0.003956, allocations: 7.938 kB / 269.9 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.782e-05/0.003974, allocations: 7.984 kB / 270 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.003977, allocations: 4 kB / 270 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.003978, allocations: 0 / 270 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.003981, allocations: 0 / 270 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.004146, allocations: 194.8 kB / 270.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.004148, allocations: 11.94 kB / 270.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.729e-05/0.004165, allocations: 0 / 270.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.004172, allocations: 4 kB / 270.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.004173, allocations: 0 / 270.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.00418, allocations: 0 / 270.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.004182, allocations: 0 / 270.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.004183, allocations: 0 / 270.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.249e-05/0.004275, allocations: 143.5 kB / 270.3 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-06/0.004283, allocations: 0 / 270.3 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.936e-05/0.004312, allocations: 4 kB / 270.3 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.004331, allocations: 3.984 kB / 270.3 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.004333, allocations: 8.031 kB / 270.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.127e-05/0.004345, allocations: 12.8 kB / 270.3 MB, free: 15.35 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004345, allocations: 3.938 kB / 270.3 MB, free: 15.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000108/0.004453, allocations: 7.953 kB / 270.3 MB, free: 15.34 MB / 282.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: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 6.244e-05/0.004515, allocations: 72.42 kB / 270.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.256e-05/0.004568, allocations: 29.06 kB / 270.4 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.004571, allocations: 0 / 270.4 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.385e-05/0.004585, allocations: 12.94 kB / 270.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.004715, allocations: 23.8 kB / 270.5 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.005065, allocations: 144.2 kB / 270.6 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.427e-05/0.005099, allocations: 59.34 kB / 270.7 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.6e-05/0.005115, allocations: 0 / 270.7 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.005155, allocations: 55.38 kB / 270.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.005156, allocations: 0 / 270.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of Templates: time 0.00206/0.007216, allocations: 0.602 MB / 271.3 MB, free: 14.29 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3834172124043107]