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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001225/0.001225, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001223/0.001223, allocations: 160.2 kB / 24.91 MB, free: 8.77 MB / 18.57 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 0.9671/0.9671, allocations: 177 MB / 205.2 MB, free: 5.062 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2437/0.2437, allocations: 34.86 MB / 296.6 MB, free: 488 kB / 266.7 MB " [Timeout remaining time 180] 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 2.395e-06/2.395e-06, allocations: 0 / 325.9 MB, free: 7.207 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.482e-05, allocations: 2.312 kB / 325.9 MB, free: 7.203 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002407/0.002432, allocations: 0.8272 MB / 326.7 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002358/0.002667, allocations: 55.75 kB / 326.8 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.629e-05/0.002744, allocations: 0 / 326.8 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.002876, allocations: 7.875 kB / 326.8 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.117e-05/0.002897, allocations: 3.938 kB / 326.8 MB, free: 6.312 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001121/0.003009, allocations: 23.97 kB / 326.8 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.003117, allocations: 40.53 kB / 326.9 MB, free: 6.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.407e-05/0.003211, allocations: 8 kB / 326.9 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.283e-05/0.003264, allocations: 23.91 kB / 326.9 MB, free: 6.219 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.487e-05/0.003309, allocations: 3.984 kB / 326.9 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.003338, allocations: 4 kB / 326.9 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.269e-05/0.00335, allocations: 4 kB / 326.9 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.003375, allocations: 7.938 kB / 326.9 MB, free: 6.199 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.0034, allocations: 11.98 kB / 326.9 MB, free: 6.188 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.003509, allocations: 31.84 kB / 326.9 MB, free: 6.156 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003511, allocations: 4 kB / 326.9 MB, free: 6.152 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.003512, allocations: 0 / 326.9 MB, free: 6.152 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.003515, allocations: 0 / 326.9 MB, free: 6.152 MB / 298.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.0003922/0.003908, allocations: 246.3 kB / 327.2 MB, free: 5.887 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.003945, allocations: 8.031 kB / 327.2 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.003976, allocations: 4.938 kB / 327.2 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.004124, allocations: 129.6 kB / 327.3 MB, free: 5.723 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.004135, allocations: 4.375 kB / 327.3 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.004155, allocations: 8.359 kB / 327.3 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.518e-05/0.004231, allocations: 46.25 kB / 327.4 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.004238, allocations: 192 / 327.4 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.004246, allocations: 384 / 327.4 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.004259, allocations: 8.359 kB / 327.4 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.456e-05/0.004283, allocations: 11.94 kB / 327.4 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.0046, allocations: 176.2 kB / 327.6 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.373e-05/0.004644, allocations: 18.58 kB / 327.6 MB, free: 5.426 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.247e-05/0.004656, allocations: 4.859 kB / 327.6 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.004662, allocations: 0 / 327.6 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.397e-05/0.004726, allocations: 59.34 kB / 327.7 MB, free: 5.348 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.004728, allocations: 4 kB / 327.7 MB, free: 5.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 9.679e-05/0.004824, allocations: 37.69 kB / 327.7 MB, free: 5.301 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.004858, allocations: 55.41 kB / 327.8 MB, free: 5.234 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.635e-05/0.004924, allocations: 114.7 kB / 327.9 MB, free: 5.109 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.004936, allocations: 25.7 kB / 327.9 MB, free: 5.078 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.004978, allocations: 104.8 kB / 328 MB, free: 4.973 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.004992, allocations: 3.953 kB / 328 MB, free: 4.969 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.005022, allocations: 17.66 kB / 328 MB, free: 4.945 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.129e-05/0.005113, allocations: 318.8 kB / 328.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-06/0.005123, allocations: 4 kB / 328.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.896e-05/0.005142, allocations: 17.72 kB / 328.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.599e-05/0.005178, allocations: 21.72 kB / 328.4 MB, free: 4.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.005181, allocations: 3.984 kB / 328.4 MB, free: 4.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.512e-05/0.005246, allocations: 49.84 kB / 328.4 MB, free: 4.512 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.005259, allocations: 4 kB / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.005263, allocations: 0 / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.005275, allocations: 48 / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.77e-05/0.005302, allocations: 7.984 kB / 328.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.005305, allocations: 0 / 328.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.508e-05/0.00533, allocations: 8.031 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-06/0.005334, allocations: 0 / 328.4 MB, free: 4.492 MB / 298.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 6.097e-05/0.005394, allocations: 109.8 kB / 328.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.005405, allocations: 11.86 kB / 328.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.005426, allocations: 12 kB / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.005428, allocations: 0 / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.005429, allocations: 0 / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.005432, allocations: 0 / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.005686, allocations: 202.7 kB / 328.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.005688, allocations: 3.938 kB / 328.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.81e-05/0.005706, allocations: 0 / 328.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.005708, allocations: 4 kB / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.00572, allocations: 8 kB / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.005722, allocations: 3.938 kB / 328.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.005723, allocations: 0 / 328.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.753e-05/0.00582, allocations: 135.5 kB / 328.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.739e-06/0.00583, allocations: 7.938 kB / 328.9 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.308e-06/0.005839, allocations: 0 / 328.9 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.083e-05/0.00589, allocations: 4 kB / 328.9 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.005914, allocations: 7.984 kB / 328.9 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.005916, allocations: 3.938 kB / 328.9 MB, free: 3.934 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.561e-05/0.005932, allocations: 16.89 kB / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005932, allocations: 0 / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00022/0.006152, allocations: 7.953 kB / 329 MB, free: 3.906 MB / 298.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 7.862e-05/0.006231, allocations: 79.78 kB / 329 MB, free: 3.824 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.885e-05/0.00629, allocations: 16.8 kB / 329.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.006293, allocations: 4 kB / 329.1 MB, free: 3.801 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-05/0.006309, allocations: 8.859 kB / 329.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.006494, allocations: 17.17 kB / 329.1 MB, free: 3.773 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.006739, allocations: 141.3 kB / 329.2 MB, free: 3.609 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.926e-05/0.006778, allocations: 63.41 kB / 329.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.772e-05/0.006796, allocations: 0 / 329.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.00684, allocations: 59.31 kB / 329.3 MB, free: 3.469 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.006841, allocations: 0 / 329.3 MB, free: 3.469 MB / 298.7 MB Notification: Performance of Templates: time 0.002459/0.0093, allocations: 0.5538 MB / 329.9 MB, free: 2.93 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.822800536174327]