Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.SelfResettingIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001775/0.001775, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001989/0.001989, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 230.2 MB / 257.8 MB, free: 8.492 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.218/0.218, allocations: 46.89 MB / 361.1 MB, free: 4.613 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.SelfResettingIntegrator") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 79.86 kB / 0.4968 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3005, allocations: 65.99 MB / 0.5612 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.00197/0.3025, allocations: 0.824 MB / 0.562 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000179/0.3027, allocations: 43.88 kB / 0.562 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.256e-05/0.3027, allocations: 7.938 kB / 0.5621 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.546e-05/0.3028, allocations: 3.938 kB / 0.5621 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.943e-05/0.3029, allocations: 7.938 kB / 0.5621 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.303, allocations: 19.98 kB / 0.5621 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.3031, allocations: 43.83 kB / 0.5621 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.876e-05/0.3032, allocations: 10.67 kB / 0.5621 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.161e-05/0.3032, allocations: 15.92 kB / 0.5621 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.843e-05/0.3032, allocations: 11.94 kB / 0.5622 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.3033, allocations: 4 kB / 0.5622 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-06/0.3033, allocations: 4 kB / 0.5622 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.3033, allocations: 11.98 kB / 0.5622 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.3033, allocations: 15.88 kB / 0.5622 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.622e-05/0.3034, allocations: 39.81 kB / 0.5622 GB, free: 3.953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.3034, allocations: 0 / 0.5622 GB, free: 3.953 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3034, allocations: 3.938 kB / 0.5622 GB, free: 3.949 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.3034, allocations: 0 / 0.5622 GB, free: 3.949 MB / 398.1 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.0004035/0.3038, allocations: 360.1 kB / 0.5626 GB, free: 3.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.3039, allocations: 8.031 kB / 0.5626 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.3039, allocations: 8.891 kB / 0.5626 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.3041, allocations: 180.4 kB / 0.5628 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-06/0.3041, allocations: 4.312 kB / 0.5628 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.3041, allocations: 4.375 kB / 0.5628 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.3042, allocations: 54.23 kB / 0.5628 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3042, allocations: 4.172 kB / 0.5628 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.3042, allocations: 3.938 kB / 0.5628 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-06/0.3042, allocations: 0 / 0.5628 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.784e-05/0.3043, allocations: 15.98 kB / 0.5629 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.3047, allocations: 292.7 kB / 0.5631 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.233e-05/0.3047, allocations: 26.58 kB / 0.5632 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.614e-05/0.3048, allocations: 4.859 kB / 0.5632 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.71e-06/0.3048, allocations: 0 / 0.5632 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.528e-05/0.3048, allocations: 55.42 kB / 0.5632 GB, free: 2.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3048, allocations: 4 kB / 0.5632 GB, free: 2.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001269/0.305, allocations: 53.62 kB / 0.5633 GB, free: 2.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.305, allocations: 55.41 kB / 0.5633 GB, free: 2.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.584e-05/0.3051, allocations: 113.8 kB / 0.5634 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.3051, allocations: 25.7 kB / 0.5635 GB, free: 2.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.3052, allocations: 100 kB / 0.5635 GB, free: 2.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.122e-05/0.3052, allocations: 3.953 kB / 0.5636 GB, free: 2.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.3052, allocations: 21.66 kB / 0.5636 GB, free: 2.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3054, allocations: 326.8 kB / 0.5639 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.3054, allocations: 4 kB / 0.5639 GB, free: 2.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.617e-05/0.3054, allocations: 17.72 kB / 0.5639 GB, free: 2.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.942e-05/0.3054, allocations: 29.66 kB / 0.5639 GB, free: 1.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.3054, allocations: 0 / 0.5639 GB, free: 1.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.086e-05/0.3055, allocations: 53.62 kB / 0.564 GB, free: 1.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.3055, allocations: 4.375 kB / 0.564 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3055, allocations: 4.031 kB / 0.564 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.3055, allocations: 0 / 0.564 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.213e-05/0.3056, allocations: 7.984 kB / 0.564 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.3056, allocations: 3.938 kB / 0.564 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/0.3056, allocations: 7.953 kB / 0.564 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.3056, allocations: 0 / 0.564 GB, free: 1.887 MB / 398.1 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 7.923e-05/0.3057, allocations: 121.8 kB / 0.5641 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.3057, allocations: 0 / 0.5641 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.3057, allocations: 11.91 kB / 0.5641 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3057, allocations: 4 kB / 0.5641 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3057, allocations: 0 / 0.5641 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.3058, allocations: 85.38 kB / 0.5642 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.3058, allocations: 7.938 kB / 0.5642 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.481e-05/0.3058, allocations: 0 / 0.5642 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.3059, allocations: 3.984 kB / 0.5642 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001501/0.306, allocations: 132.9 kB / 0.5644 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001807/0.3062, allocations: 230.8 kB / 0.5646 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.943e-05/0.3062, allocations: 11.97 kB / 0.5646 GB, free: 1.238 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.663e-05/0.3063, allocations: 95.2 kB / 0.5647 GB, free: 1.145 MB / 398.1 MB Notification: Performance of Backend: time 2.1e-07/0.3063, allocations: 0 / 0.5647 GB, free: 1.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003043/0.3066, allocations: 88.89 kB / 0.5648 GB, free: 1.051 MB / 398.1 MB Notification: Performance of SimCode: time 0.0004881/0.3071, allocations: 0.5884 MB / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of Templates: time 0.002757/0.3098, allocations: 0.5357 MB / 0.5659 GB, free: 15.88 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.SelfResettingIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.SelfResettingIntegrator.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.619700646959245]