Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.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.002074/0.002074, allocations: 92.31 kB / 20.96 MB, free: 3.465 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.001814/0.001814, allocations: 157.7 kB / 24.27 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3633/0.3633, allocations: 34.26 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator") translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.075e-05/3.242e-05, allocations: 2.312 kB / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.003398/0.00343, allocations: 1.611 MB / 378.9 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.004535, allocations: 498.6 kB / 379.4 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.656e-05/0.004631, allocations: 3.938 kB / 379.4 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.004761, allocations: 15.81 kB / 379.4 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.309e-05/0.004824, allocations: 19.84 kB / 379.4 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.005042, allocations: 39.84 kB / 379.5 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.005202, allocations: 79.75 kB / 379.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.005307, allocations: 12.23 kB / 379.5 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.463e-05/0.005402, allocations: 47.89 kB / 379.6 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.024e-05/0.005472, allocations: 23.91 kB / 379.6 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.005494, allocations: 4 kB / 379.6 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.623e-05/0.00551, allocations: 8 kB / 379.6 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.005536, allocations: 11.92 kB / 379.6 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.125e-05/0.005588, allocations: 35.91 kB / 379.7 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.005762, allocations: 67.72 kB / 379.7 MB, free: 500 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.005771, allocations: 4 kB / 379.7 MB, free: 496 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.005772, allocations: 0 / 379.7 MB, free: 496 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.005778, allocations: 4 kB / 379.7 MB, free: 492 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006756/0.006454, allocations: 326.8 kB / 380.1 MB, free: 132 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.006493, allocations: 12.02 kB / 380.1 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.253e-05/0.006555, allocations: 16.89 kB / 380.1 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.006847, allocations: 133.7 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.006866, allocations: 8.375 kB / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.006906, allocations: 8.312 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.007086, allocations: 78.22 kB / 380.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.007095, allocations: 192 / 380.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.007111, allocations: 4.375 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.007121, allocations: 7.938 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.316e-05/0.007214, allocations: 31.64 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006198/0.007834, allocations: 284.2 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.007971, allocations: 46.56 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.386e-05/0.008015, allocations: 16.89 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.008028, allocations: 0 / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.008177, allocations: 79.34 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.008178, allocations: 0 / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002649/0.008443, allocations: 93.84 kB / 380.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.008495, allocations: 51.41 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.008621, allocations: 121.8 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.00865, allocations: 29.7 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.008729, allocations: 104.3 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.008761, allocations: 27.88 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.369e-05/0.008825, allocations: 25.72 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.009012, allocations: 322.8 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.296e-05/0.009055, allocations: 16 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.88e-05/0.009124, allocations: 34.56 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.6e-05/0.00922, allocations: 54.5 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.009222, allocations: 0 / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001632/0.009385, allocations: 89.58 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.0094, allocations: 8.062 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.009405, allocations: 0 / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.009422, allocations: 0 / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.009488, allocations: 8 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.009493, allocations: 0 / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.803e-05/0.009561, allocations: 11.98 kB / 381.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.009574, allocations: 7.938 kB / 381.8 MB, free: 14.27 MB / 362.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: 7 ($whenCondition1,integrator.reset,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,fallingEdge.not_u,$PRE.fallingEdge.not_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 0.0003673/0.009941, allocations: 117.8 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.009971, allocations: 15.95 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.01001, allocations: 8.438 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01001, allocations: 4 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01001, allocations: 0 / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.01002, allocations: 7.984 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003878/0.01041, allocations: 294 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01041, allocations: 0 / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.437e-05/0.01046, allocations: 11.94 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01046, allocations: 0 / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.01047, allocations: 0 / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.01048, allocations: 0 / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.01048, allocations: 3.938 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.01075, allocations: 187.5 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.01077, allocations: 8.094 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.01078, allocations: 0 / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.525e-05/0.01088, allocations: 7.984 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.01093, allocations: 15.92 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.01094, allocations: 0 / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.242e-05/0.01101, allocations: 95.27 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01101, allocations: 3.938 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002404/0.01125, allocations: 19.95 kB / 382.5 MB, free: 13.42 MB / 362.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,fallingEdge.not_u,booleanPulse.pulseStart) * Number of discrete states: 1 (fallingEdge.not_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.0001115/0.01136, allocations: 92.02 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.01151, allocations: 55.91 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01151, allocations: 0 / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.353e-05/0.01156, allocations: 19.98 kB / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.01189, allocations: 24.3 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005163/0.01241, allocations: 204.5 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.698e-05/0.0125, allocations: 75.33 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.433e-05/0.01253, allocations: 8.125 kB / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.01258, allocations: 16.48 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01258, allocations: 0 / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of Templates: time 0.003808/0.01639, allocations: 0.916 MB / 383.9 MB, free: 11.98 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ResetHoldIntegrator/ResetHoldIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ResetHoldIntegrator.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.772715089959092]