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.001408/0.001408, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001917/0.001917, allocations: 215.5 kB / 23.73 MB, free: 4.406 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.703/1.703, allocations: 230.5 MB / 257.4 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.3132/0.3132, allocations: 46.95 MB / 360.8 MB, free: 3.957 MB / 286.1 MB " [Timeout remaining time 179] 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.003081/0.003081, allocations: 79.86 kB / 0.4966 GB, free: 7.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5373/0.5403, allocations: 66.09 MB / 0.5612 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002391/0.5427, allocations: 0.8046 MB / 0.5619 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002303/0.543, allocations: 43.83 kB / 0.562 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.244e-05/0.543, allocations: 4 kB / 0.562 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.5432, allocations: 11.88 kB / 0.562 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.52e-05/0.5432, allocations: 0 / 0.562 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.5433, allocations: 27.91 kB / 0.562 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.5434, allocations: 35.97 kB / 0.5621 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.5436, allocations: 14.66 kB / 0.5621 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.256e-05/0.5436, allocations: 15.94 kB / 0.5621 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.302e-05/0.5436, allocations: 15.86 kB / 0.5621 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.5436, allocations: 0 / 0.5621 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.5437, allocations: 4 kB / 0.5621 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.5437, allocations: 7.938 kB / 0.5621 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.5437, allocations: 11.94 kB / 0.5621 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.5438, allocations: 43.81 kB / 0.5622 GB, free: 2.992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5438, allocations: 0 / 0.5622 GB, free: 2.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.5438, allocations: 0 / 0.5622 GB, free: 2.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.5438, allocations: 3.938 kB / 0.5622 GB, free: 2.988 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.0004434/0.5443, allocations: 286.8 kB / 0.5625 GB, free: 2.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.5443, allocations: 8.031 kB / 0.5625 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.5444, allocations: 8.891 kB / 0.5625 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.5446, allocations: 122.5 kB / 0.5626 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.5446, allocations: 384 / 0.5626 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.5446, allocations: 8.312 kB / 0.5626 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.5447, allocations: 50.25 kB / 0.5626 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.5447, allocations: 192 / 0.5626 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.5447, allocations: 3.938 kB / 0.5626 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.5447, allocations: 0 / 0.5626 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.906e-05/0.5448, allocations: 23.97 kB / 0.5627 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.5452, allocations: 228.4 kB / 0.5629 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.041e-05/0.5453, allocations: 22.58 kB / 0.5629 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.5453, allocations: 8.922 kB / 0.5629 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.5453, allocations: 0 / 0.5629 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.51e-05/0.5454, allocations: 51.41 kB / 0.563 GB, free: 2.066 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.5454, allocations: 0 / 0.563 GB, free: 2.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001519/0.5456, allocations: 57.58 kB / 0.563 GB, free: 2.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.5456, allocations: 55.41 kB / 0.5631 GB, free: 1.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.5457, allocations: 113.8 kB / 0.5632 GB, free: 1.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.5458, allocations: 25.7 kB / 0.5632 GB, free: 1.785 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.162e-05/0.5458, allocations: 104 kB / 0.5633 GB, free: 1.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.067e-05/0.5459, allocations: 3.953 kB / 0.5633 GB, free: 1.676 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.5459, allocations: 17.72 kB / 0.5633 GB, free: 1.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.546, allocations: 318.8 kB / 0.5636 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.5461, allocations: 7.984 kB / 0.5636 GB, free: 1.324 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.11e-05/0.5461, allocations: 25.72 kB / 0.5637 GB, free: 1.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.111e-05/0.5461, allocations: 25.66 kB / 0.5637 GB, free: 1.262 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5461, allocations: 0 / 0.5637 GB, free: 1.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.912e-05/0.5462, allocations: 53.62 kB / 0.5637 GB, free: 1.203 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.5462, allocations: 10.19 kB / 0.5637 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.5462, allocations: 0 / 0.5637 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.5463, allocations: 0 / 0.5637 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.342e-05/0.5463, allocations: 8 kB / 0.5638 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.5463, allocations: 0 / 0.5638 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.5463, allocations: 7.984 kB / 0.5638 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.5463, allocations: 0 / 0.5638 GB, free: 1.18 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 0.0001126/0.5464, allocations: 113.8 kB / 0.5639 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.5464, allocations: 7.953 kB / 0.5639 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.5465, allocations: 12.03 kB / 0.5639 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.5465, allocations: 0 / 0.5639 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.5465, allocations: 3.938 kB / 0.5639 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.5465, allocations: 0 / 0.5639 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.5468, allocations: 250.5 kB / 0.5641 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5468, allocations: 4 kB / 0.5641 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.562e-05/0.5468, allocations: 0 / 0.5641 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.5468, allocations: 0 / 0.5641 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.5468, allocations: 0 / 0.5641 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5468, allocations: 0 / 0.5641 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.5468, allocations: 4.047 kB / 0.5641 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.547, allocations: 167.3 kB / 0.5643 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.547, allocations: 0 / 0.5643 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.547, allocations: 32 / 0.5643 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.273e-05/0.5471, allocations: 4 kB / 0.5643 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.5471, allocations: 0 / 0.5643 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.5471, allocations: 3.938 kB / 0.5643 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.122e-05/0.5472, allocations: 91.27 kB / 0.5644 GB, free: 472 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5472, allocations: 3.938 kB / 0.5644 GB, free: 468 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002166/0.5474, allocations: 7.938 kB / 0.5644 GB, free: 460 kB / 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 0.000108/0.5475, allocations: 99.31 kB / 0.5645 GB, free: 352 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.415e-05/0.5476, allocations: 15.98 kB / 0.5645 GB, free: 336 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5476, allocations: 4 kB / 0.5645 GB, free: 332 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.955e-05/0.5476, allocations: 7.938 kB / 0.5645 GB, free: 324 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.5479, allocations: 18.38 kB / 0.5645 GB, free: 308 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.5482, allocations: 129.6 kB / 0.5647 GB, free: 152 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.291e-05/0.5483, allocations: 67.33 kB / 0.5647 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.123e-05/0.5483, allocations: 4 kB / 0.5647 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.5483, allocations: 7.438 kB / 0.5647 GB, free: 52 kB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.5483, allocations: 4.062 kB / 0.5647 GB, free: 48 kB / 398.1 MB Notification: Performance of Templates: time 0.00304/0.5514, allocations: 0.4902 MB / 0.5652 GB, free: 15.56 MB / 414.1 MB " [Timeout remaining time 659] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 5.693929869681597]