Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.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.001424/0.001431, allocations: 117.1 kB / 19.12 MB, free: 3.945 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.001678/0.001678, allocations: 210.6 kB / 22.08 MB, free: 0.9922 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.468/1.468, allocations: 227.4 MB / 252.3 MB, free: 112 kB / 190.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.2277/0.2277, allocations: 46.17 MB / 351.8 MB, free: 14.38 MB / 286.1 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.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator") translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 90.25 kB / 490.9 MB, free: 28.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1186, allocations: 62.44 MB / 0.5403 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.002944/0.1216, allocations: 1.634 MB / 0.5419 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009615/0.1226, allocations: 0.5142 MB / 0.5424 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.971e-05/0.1227, allocations: 0 / 0.5424 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.1228, allocations: 15.86 kB / 0.5425 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.354e-05/0.1229, allocations: 7.875 kB / 0.5425 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.1231, allocations: 39.91 kB / 0.5425 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.1232, allocations: 71.83 kB / 0.5426 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.1234, allocations: 36.14 kB / 0.5426 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.045e-05/0.1234, allocations: 35.8 kB / 0.5426 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.753e-05/0.1235, allocations: 23.86 kB / 0.5427 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.1235, allocations: 11.94 kB / 0.5427 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.631e-05/0.1236, allocations: 8 kB / 0.5427 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.777e-05/0.1236, allocations: 15.98 kB / 0.5427 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.452e-05/0.1237, allocations: 39.78 kB / 0.5427 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.1238, allocations: 71.67 kB / 0.5428 GB, free: 1.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1238, allocations: 0 / 0.5428 GB, free: 1.734 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.1238, allocations: 0 / 0.5428 GB, free: 1.734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.1238, allocations: 3.938 kB / 0.5428 GB, free: 1.73 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006391/0.1245, allocations: 399.1 kB / 0.5432 GB, free: 1.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1245, allocations: 8.031 kB / 0.5432 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.1246, allocations: 12.89 kB / 0.5432 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.1249, allocations: 196.2 kB / 0.5434 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.1249, allocations: 8.375 kB / 0.5434 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.1249, allocations: 4.375 kB / 0.5434 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1251, allocations: 83.41 kB / 0.5435 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1251, allocations: 4 kB / 0.5435 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1251, allocations: 4 kB / 0.5435 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1251, allocations: 0 / 0.5435 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.575e-05/0.1252, allocations: 35.97 kB / 0.5435 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005775/0.1258, allocations: 352.7 kB / 0.5439 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.1259, allocations: 50.5 kB / 0.5439 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.271e-05/0.126, allocations: 16.89 kB / 0.5439 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.126, allocations: 0 / 0.5439 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.1261, allocations: 79.36 kB / 0.544 GB, free: 348 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.1261, allocations: 0 / 0.544 GB, free: 348 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000218/0.1264, allocations: 85.56 kB / 0.5441 GB, free: 256 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.1264, allocations: 55.41 kB / 0.5441 GB, free: 188 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.1265, allocations: 139.9 kB / 0.5443 GB, free: 40 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.1266, allocations: 25.7 kB / 0.5443 GB, free: 8 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/0.1266, allocations: 100.1 kB / 0.5444 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.1267, allocations: 15.91 kB / 0.5444 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.1267, allocations: 33.7 kB / 0.5444 GB, free: 15.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1269, allocations: 318.8 kB / 0.5447 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.259e-05/0.1269, allocations: 12 kB / 0.5447 GB, free: 15.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.668e-05/0.127, allocations: 42.5 kB / 0.5448 GB, free: 15.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.082e-05/0.1271, allocations: 54.56 kB / 0.5448 GB, free: 15.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1271, allocations: 0 / 0.5448 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001471/0.1272, allocations: 89.52 kB / 0.5449 GB, free: 15.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1272, allocations: 8 kB / 0.5449 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1273, allocations: 0 / 0.5449 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1273, allocations: 11.81 kB / 0.5449 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.121e-05/0.1274, allocations: 11.98 kB / 0.545 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1274, allocations: 400 / 0.545 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.1274, allocations: 11.94 kB / 0.545 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.1275, allocations: 8 kB / 0.545 GB, free: 15.26 MB / 414.1 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,fallingEdge.not_u,$PRE.fallingEdge.not_u,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,integrator.reset,$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.0001019/0.1276, allocations: 121.9 kB / 0.5451 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.1276, allocations: 7.953 kB / 0.5451 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.1276, allocations: 16.66 kB / 0.5451 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1276, allocations: 0 / 0.5451 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1277, allocations: 0 / 0.5451 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1277, allocations: 0 / 0.5451 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003816/0.128, allocations: 358.4 kB / 0.5455 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1281, allocations: 0 / 0.5455 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.013e-05/0.1281, allocations: 8 kB / 0.5455 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1281, allocations: 3.984 kB / 0.5455 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1281, allocations: 0 / 0.5455 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1281, allocations: 192 / 0.5455 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1282, allocations: 0 / 0.5455 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.1284, allocations: 199.3 kB / 0.5457 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.1285, allocations: 89.09 kB / 0.5457 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.1285, allocations: 0 / 0.5457 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.838e-05/0.1286, allocations: 12.05 kB / 0.5458 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.1287, allocations: 4 kB / 0.5458 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.1287, allocations: 7.984 kB / 0.5458 GB, free: 14.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.669e-05/0.1288, allocations: 105.1 kB / 0.5459 GB, free: 14.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1288, allocations: 0 / 0.5459 GB, free: 14.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.129, allocations: 12 kB / 0.5459 GB, free: 14.23 MB / 414.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: 5 (integrator.reset,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,fallingEdge.not_u) * 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.0001177/0.1291, allocations: 95.25 kB / 0.546 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.1293, allocations: 47.91 kB / 0.546 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1293, allocations: 4.125 kB / 0.546 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.488e-05/0.1293, allocations: 27.92 kB / 0.546 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.1297, allocations: 23.92 kB / 0.5461 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005094/0.1302, allocations: 220.2 kB / 0.5463 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.1305, allocations: 0.7001 MB / 0.547 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.1305, allocations: 15.44 kB / 0.547 GB, free: 13.04 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1306, allocations: 0 / 0.547 GB, free: 13.04 MB / 414.1 MB Notification: Performance of Templates: time 0.002978/0.1335, allocations: 1.148 MB / 0.5481 GB, free: 11.89 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ResetHoldIntegrator/ResetHoldIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 7.6009328219806775]