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.001879/0.001879, allocations: 116.8 kB / 19.13 MB, free: 3.922 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.002322/0.002322, allocations: 210.6 kB / 22.08 MB, free: 0.9727 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.448/1.448, allocations: 227.4 MB / 252.3 MB, free: 104 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.2429/0.2429, allocations: 46.16 MB / 351.8 MB, free: 14.29 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.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.00226/0.00226, allocations: 77.69 kB / 490.8 MB, free: 28.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1175, allocations: 62.45 MB / 0.5403 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002/0.1195, allocations: 0.8238 MB / 0.5411 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000206/0.1197, allocations: 51.83 kB / 0.5412 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.001e-05/0.1198, allocations: 4 kB / 0.5412 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.1199, allocations: 3.938 kB / 0.5412 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.956e-05/0.1199, allocations: 3.938 kB / 0.5412 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001119/0.1201, allocations: 15.98 kB / 0.5412 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.1202, allocations: 43.84 kB / 0.5412 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1203, allocations: 19.92 kB / 0.5413 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.501e-05/0.1203, allocations: 15.92 kB / 0.5413 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.512e-05/0.1204, allocations: 7.938 kB / 0.5413 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.1204, allocations: 4 kB / 0.5413 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.1204, allocations: 8 kB / 0.5413 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.1204, allocations: 7.984 kB / 0.5413 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.1205, allocations: 15.88 kB / 0.5413 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.1206, allocations: 39.81 kB / 0.5414 GB, free: 3.316 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1206, allocations: 0 / 0.5414 GB, free: 3.316 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1206, allocations: 0 / 0.5414 GB, free: 3.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1206, allocations: 0 / 0.5414 GB, free: 3.316 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.0004601/0.1211, allocations: 347.4 kB / 0.5417 GB, free: 2.926 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1211, allocations: 12.02 kB / 0.5417 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.1212, allocations: 8.938 kB / 0.5417 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.1214, allocations: 188.2 kB / 0.5419 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1214, allocations: 384 / 0.5419 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.1215, allocations: 4.375 kB / 0.5419 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.1216, allocations: 50.25 kB / 0.5419 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1216, allocations: 192 / 0.5419 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1216, allocations: 7.922 kB / 0.542 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1216, allocations: 0 / 0.542 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.92e-05/0.1217, allocations: 19.92 kB / 0.542 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005078/0.1222, allocations: 296.7 kB / 0.5423 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.034e-05/0.1223, allocations: 26.56 kB / 0.5423 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.721e-05/0.1223, allocations: 4.859 kB / 0.5423 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.1223, allocations: 4.062 kB / 0.5423 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.598e-05/0.1224, allocations: 51.34 kB / 0.5423 GB, free: 2.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1224, allocations: 4 kB / 0.5423 GB, free: 2.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001592/0.1226, allocations: 53.64 kB / 0.5424 GB, free: 2.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.1226, allocations: 51.41 kB / 0.5424 GB, free: 2.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.1227, allocations: 113.8 kB / 0.5426 GB, free: 1.902 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1228, allocations: 29.7 kB / 0.5426 GB, free: 1.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.1228, allocations: 96.08 kB / 0.5427 GB, free: 1.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.1228, allocations: 3.953 kB / 0.5427 GB, free: 1.766 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.1229, allocations: 21.66 kB / 0.5427 GB, free: 1.738 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.123, allocations: 322.8 kB / 0.543 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.123, allocations: 11.98 kB / 0.543 GB, free: 1.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.52e-05/0.1231, allocations: 13.72 kB / 0.543 GB, free: 1.383 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.388e-05/0.1231, allocations: 29.66 kB / 0.5431 GB, free: 1.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1231, allocations: 0 / 0.5431 GB, free: 1.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.361e-05/0.1232, allocations: 53.62 kB / 0.5431 GB, free: 1.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1232, allocations: 8.031 kB / 0.5431 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1232, allocations: 0 / 0.5431 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1233, allocations: 0 / 0.5431 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.185e-05/0.1233, allocations: 4 kB / 0.5431 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.1233, allocations: 7.984 kB / 0.5431 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.002e-05/0.1233, allocations: 7.891 kB / 0.5431 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.1234, allocations: 3.938 kB / 0.5431 GB, free: 1.258 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.584e-05/0.1235, allocations: 113.8 kB / 0.5432 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.1235, allocations: 4 kB / 0.5433 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.1235, allocations: 11.91 kB / 0.5433 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1235, allocations: 3.938 kB / 0.5433 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1235, allocations: 0 / 0.5433 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1235, allocations: 384 / 0.5433 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.1238, allocations: 302.8 kB / 0.5436 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1238, allocations: 4.047 kB / 0.5436 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.25e-05/0.1239, allocations: 7.984 kB / 0.5436 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1239, allocations: 3.938 kB / 0.5436 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.1239, allocations: 0 / 0.5436 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.637e-06/0.1239, allocations: 3.938 kB / 0.5436 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1239, allocations: 4 kB / 0.5436 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.1241, allocations: 151.5 kB / 0.5437 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.1241, allocations: 85.09 kB / 0.5438 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.1241, allocations: 0 / 0.5438 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.584e-05/0.1242, allocations: 3.938 kB / 0.5438 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.1242, allocations: 0 / 0.5438 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.1243, allocations: 7.984 kB / 0.5438 GB, free: 472 kB / 398.1 MB Notification: Performance of sorting global known variables: time 5.633e-05/0.1243, allocations: 95.34 kB / 0.5439 GB, free: 376 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1243, allocations: 0 / 0.5439 GB, free: 376 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002116/0.1245, allocations: 4 kB / 0.5439 GB, free: 372 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.0001059/0.1246, allocations: 95.23 kB / 0.544 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.037e-05/0.1247, allocations: 19.94 kB / 0.544 GB, free: 248 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1248, allocations: 0 / 0.544 GB, free: 248 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.506e-05/0.1248, allocations: 12 kB / 0.544 GB, free: 236 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.125, allocations: 20.95 kB / 0.5441 GB, free: 220 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.1254, allocations: 159.3 kB / 0.5442 GB, free: 28 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.1257, allocations: 0.6846 MB / 0.5449 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.1257, allocations: 7.438 kB / 0.5449 GB, free: 15.31 MB / 414.1 MB Notification: Performance of SimCode: time 2.074e-06/0.1257, allocations: 0 / 0.5449 GB, free: 15.31 MB / 414.1 MB Notification: Performance of Templates: time 0.002186/0.1279, allocations: 0.7384 MB / 0.5456 GB, free: 14.57 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.501481420942582]