Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.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.001724/0.001724, allocations: 117 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.002134/0.002135, allocations: 214.5 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.527/1.527, allocations: 227.4 MB / 252.3 MB, free: 108 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.2344/0.2344, allocations: 46.15 MB / 351.8 MB, free: 14.31 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.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002362, allocations: 83.78 kB / 490.8 MB, free: 28.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1146, allocations: 62.45 MB / 0.5403 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.0028/0.1174, allocations: 1.572 MB / 0.5419 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002486/0.1177, allocations: 75.72 kB / 0.5419 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.932e-05/0.1178, allocations: 0 / 0.5419 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.783e-05/0.1179, allocations: 3.938 kB / 0.5419 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.953e-05/0.1179, allocations: 3.938 kB / 0.5419 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001267/0.118, allocations: 27.92 kB / 0.542 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.1182, allocations: 39.84 kB / 0.542 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.621e-05/0.1183, allocations: 15.92 kB / 0.542 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.655e-05/0.1183, allocations: 11.94 kB / 0.542 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.508e-05/0.1184, allocations: 11.92 kB / 0.542 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.1184, allocations: 4 kB / 0.542 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.143e-05/0.1184, allocations: 4 kB / 0.5421 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.1184, allocations: 4 kB / 0.5421 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.1185, allocations: 19.86 kB / 0.5421 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.1186, allocations: 39.83 kB / 0.5421 GB, free: 2.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1186, allocations: 0 / 0.5421 GB, free: 2.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1186, allocations: 0 / 0.5421 GB, free: 2.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1186, allocations: 0 / 0.5421 GB, free: 2.418 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005114/0.1191, allocations: 355.3 kB / 0.5425 GB, free: 2.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.1192, allocations: 11.97 kB / 0.5425 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.1192, allocations: 8.891 kB / 0.5425 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.1195, allocations: 172.3 kB / 0.5426 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1195, allocations: 16.36 kB / 0.5427 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.1195, allocations: 384 / 0.5427 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.1197, allocations: 68.83 kB / 0.5427 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1197, allocations: 192 / 0.5427 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.1197, allocations: 3.938 kB / 0.5427 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1197, allocations: 3.938 kB / 0.5427 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.573e-05/0.1198, allocations: 27.97 kB / 0.5428 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.1204, allocations: 449.1 kB / 0.5432 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.1206, allocations: 46.56 kB / 0.5432 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.912e-05/0.1207, allocations: 16.88 kB / 0.5432 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.1207, allocations: 4 kB / 0.5432 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1207, allocations: 34.56 kB / 0.5433 GB, free: 1.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.1207, allocations: 0 / 0.5433 GB, free: 1.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.000464/0.1212, allocations: 113.7 kB / 0.5434 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.1212, allocations: 51.41 kB / 0.5434 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.255e-05/0.1213, allocations: 117.8 kB / 0.5435 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.1214, allocations: 33.7 kB / 0.5436 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.1214, allocations: 88.09 kB / 0.5437 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.1214, allocations: 11.91 kB / 0.5437 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.1215, allocations: 21.7 kB / 0.5437 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1216, allocations: 326.7 kB / 0.544 GB, free: 248 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.404e-05/0.1217, allocations: 15.98 kB / 0.544 GB, free: 232 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.349e-05/0.1218, allocations: 39.42 kB / 0.5441 GB, free: 180 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.1219, allocations: 55.36 kB / 0.5441 GB, free: 112 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1219, allocations: 7.938 kB / 0.5441 GB, free: 104 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001782/0.1221, allocations: 85.59 kB / 0.5442 GB, free: 12 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1221, allocations: 8 kB / 0.5442 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1221, allocations: 0 / 0.5442 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1222, allocations: 0 / 0.5442 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.295e-05/0.1223, allocations: 16.05 kB / 0.5442 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1223, allocations: 3.938 kB / 0.5442 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.977e-05/0.1223, allocations: 4 kB / 0.5442 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1223, allocations: 7.938 kB / 0.5442 GB, free: 15.97 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.127e-05/0.1224, allocations: 109.8 kB / 0.5443 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.1225, allocations: 12.02 kB / 0.5444 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.1225, allocations: 11.89 kB / 0.5444 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1225, allocations: 4 kB / 0.5444 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.1225, allocations: 0 / 0.5444 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-06/0.1225, allocations: 0 / 0.5444 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.1227, allocations: 169.6 kB / 0.5445 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1227, allocations: 0 / 0.5445 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.687e-05/0.1228, allocations: 12.36 kB / 0.5445 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1228, allocations: 0 / 0.5445 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.1228, allocations: 4 kB / 0.5445 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1228, allocations: 8 kB / 0.5446 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1228, allocations: 3.938 kB / 0.5446 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.1231, allocations: 179.4 kB / 0.5447 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.1232, allocations: 85.05 kB / 0.5448 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.1232, allocations: 0 / 0.5448 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.412e-05/0.1233, allocations: 4.031 kB / 0.5448 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.1233, allocations: 0 / 0.5448 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.1233, allocations: 4.062 kB / 0.5448 GB, free: 15.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.447e-05/0.1234, allocations: 91.27 kB / 0.5449 GB, free: 15.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1234, allocations: 0 / 0.5449 GB, free: 15.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.1236, allocations: 12 kB / 0.5449 GB, free: 15.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001055/0.1237, allocations: 99.12 kB / 0.545 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.1239, allocations: 43.91 kB / 0.5451 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1239, allocations: 192 / 0.5451 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.718e-05/0.1239, allocations: 15.98 kB / 0.5451 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.1242, allocations: 17.03 kB / 0.5451 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.1246, allocations: 179.8 kB / 0.5453 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.125, allocations: 0.6885 MB / 0.5459 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.125, allocations: 7.438 kB / 0.5459 GB, free: 14.07 MB / 414.1 MB Notification: Performance of SimCode: time 2.11e-07/0.125, allocations: 0 / 0.5459 GB, free: 14.07 MB / 414.1 MB Notification: Performance of Templates: time 0.002277/0.1273, allocations: 0.7696 MB / 0.5467 GB, free: 13.3 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.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.58794906293042]