Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001968/0.001968, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002382/0.002382, allocations: 215.5 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 230.2 MB / 256.7 MB, free: 8.656 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2784/0.2784, allocations: 46.9 MB / 359.9 MB, free: 4.992 MB / 286.1 MB [Timeout remaining time 89] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.00268/0.00268, allocations: 76.11 kB / 0.495 GB, free: 8.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.347, allocations: 65.99 MB / 0.5594 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002077/0.349, allocations: 0.8118 MB / 0.5602 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001964/0.3492, allocations: 51.81 kB / 0.5602 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.961e-05/0.3493, allocations: 4 kB / 0.5603 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.3494, allocations: 11.86 kB / 0.5603 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.564e-05/0.3494, allocations: 0 / 0.5603 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.3495, allocations: 23.92 kB / 0.5603 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.3497, allocations: 31.92 kB / 0.5603 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.559e-05/0.3497, allocations: 23.64 kB / 0.5603 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.779e-05/0.3498, allocations: 11.94 kB / 0.5603 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.866e-05/0.3498, allocations: 11.92 kB / 0.5604 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.3498, allocations: 7.938 kB / 0.5604 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.3498, allocations: 8 kB / 0.5604 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.471e-05/0.3499, allocations: 11.97 kB / 0.5604 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.3499, allocations: 15.88 kB / 0.5604 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.35, allocations: 31.84 kB / 0.5604 GB, free: 4.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.35, allocations: 0 / 0.5604 GB, free: 4.152 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.35, allocations: 0 / 0.5604 GB, free: 4.152 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.35, allocations: 4 kB / 0.5604 GB, free: 4.148 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.00044/0.3505, allocations: 354 kB / 0.5608 GB, free: 3.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3505, allocations: 12.03 kB / 0.5608 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.3505, allocations: 0.9375 kB / 0.5608 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.3508, allocations: 192.3 kB / 0.561 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.3508, allocations: 384 / 0.561 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.3508, allocations: 4.375 kB / 0.561 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.3509, allocations: 54.19 kB / 0.561 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.3509, allocations: 4.125 kB / 0.561 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3509, allocations: 3.938 kB / 0.561 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3509, allocations: 0 / 0.561 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.171e-05/0.351, allocations: 12 kB / 0.561 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.3515, allocations: 300.7 kB / 0.5613 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.054e-05/0.3515, allocations: 22.58 kB / 0.5614 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.3515, allocations: 8.906 kB / 0.5614 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.3516, allocations: 4 kB / 0.5614 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.275e-05/0.3516, allocations: 47.41 kB / 0.5614 GB, free: 2.984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3516, allocations: 4 kB / 0.5614 GB, free: 2.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001355/0.3518, allocations: 53.59 kB / 0.5615 GB, free: 2.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.3518, allocations: 55.39 kB / 0.5615 GB, free: 2.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.3519, allocations: 113.8 kB / 0.5616 GB, free: 2.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.3519, allocations: 29.7 kB / 0.5617 GB, free: 2.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.352, allocations: 96.16 kB / 0.5617 GB, free: 2.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.352, allocations: 3.953 kB / 0.5618 GB, free: 2.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.352, allocations: 21.7 kB / 0.5618 GB, free: 2.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3522, allocations: 322.8 kB / 0.5621 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/0.3522, allocations: 11.94 kB / 0.5621 GB, free: 2.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.919e-05/0.3522, allocations: 17.7 kB / 0.5621 GB, free: 2.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.241e-05/0.3523, allocations: 29.94 kB / 0.5621 GB, free: 2.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3523, allocations: 0 / 0.5621 GB, free: 2.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.945e-05/0.3524, allocations: 57.61 kB / 0.5622 GB, free: 2.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.3524, allocations: 4 kB / 0.5622 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-06/0.3524, allocations: 4.031 kB / 0.5622 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.3524, allocations: 0 / 0.5622 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.804e-05/0.3524, allocations: 4 kB / 0.5622 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3524, allocations: 4 kB / 0.5622 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.88e-05/0.3525, allocations: 3.953 kB / 0.5622 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.3525, allocations: 3.938 kB / 0.5622 GB, free: 2.09 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 8.718e-05/0.3526, allocations: 117.8 kB / 0.5623 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.3526, allocations: 4 kB / 0.5623 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.3526, allocations: 12.28 kB / 0.5623 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3526, allocations: 0 / 0.5623 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.3526, allocations: 4 kB / 0.5623 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.3526, allocations: 0 / 0.5623 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.3529, allocations: 310.4 kB / 0.5626 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3529, allocations: 0 / 0.5626 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/0.3529, allocations: 4 kB / 0.5626 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3529, allocations: 0 / 0.5626 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.353, allocations: 0 / 0.5626 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.353, allocations: 3.938 kB / 0.5626 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.353, allocations: 4 kB / 0.5627 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.3531, allocations: 147.5 kB / 0.5628 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.3532, allocations: 89.08 kB / 0.5629 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.3532, allocations: 0 / 0.5629 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.3532, allocations: 3.938 kB / 0.5629 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.3533, allocations: 0 / 0.5629 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.3533, allocations: 4 kB / 0.5629 GB, free: 1.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.221e-05/0.3533, allocations: 95.33 kB / 0.563 GB, free: 1.203 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3533, allocations: 4 kB / 0.563 GB, free: 1.199 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000213/0.3535, allocations: 4 kB / 0.563 GB, free: 1.195 MB / 398.1 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 8.971e-05/0.3536, allocations: 91.25 kB / 0.5631 GB, free: 1.098 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.037e-05/0.3537, allocations: 23.92 kB / 0.5631 GB, free: 1.074 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3537, allocations: 3.938 kB / 0.5631 GB, free: 1.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.67e-05/0.3537, allocations: 4 kB / 0.5631 GB, free: 1.066 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.354, allocations: 14.02 kB / 0.5631 GB, free: 1.055 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.3543, allocations: 167.2 kB / 0.5633 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.3547, allocations: 0.6885 MB / 0.5639 GB, free: 148 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.3547, allocations: 7.438 kB / 0.564 GB, free: 140 kB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3547, allocations: 0 / 0.564 GB, free: 140 kB / 398.1 MB Notification: Performance of Templates: time 0.002338/0.357, allocations: 0.7348 MB / 0.5647 GB, free: 15.4 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches