Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009698/0.0009698, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.03/1.03, allocations: 177.1 MB / 205 MB, free: 5.27 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2607/0.2607, allocations: 34.27 MB / 295.7 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.327e-05, allocations: 12.64 kB / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.00189/0.001914, allocations: 1.589 MB / 379.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002222/0.002136, allocations: 67.73 kB / 379.7 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.002196, allocations: 4 kB / 379.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.002305, allocations: 7.938 kB / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.27e-05/0.002337, allocations: 11.86 kB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.002461, allocations: 15.98 kB / 379.7 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.535e-05/0.002557, allocations: 39.91 kB / 379.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.532e-05/0.002642, allocations: 7.938 kB / 379.8 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.365e-05/0.002686, allocations: 23.91 kB / 379.8 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.513e-05/0.002731, allocations: 7.984 kB / 379.8 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.00275, allocations: 4 kB / 379.8 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.002761, allocations: 4 kB / 379.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.002778, allocations: 7.938 kB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.948e-05/0.002797, allocations: 8 kB / 379.8 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.338e-05/0.002891, allocations: 31.89 kB / 379.9 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.002893, allocations: 0 / 379.9 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.002893, allocations: 0 / 379.9 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.002897, allocations: 0 / 379.9 MB, free: 0.8047 MB / 346.7 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.0003557/0.003253, allocations: 372.5 kB / 380.2 MB, free: 412 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.003287, allocations: 12.02 kB / 380.2 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.003323, allocations: 8.938 kB / 380.2 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.003466, allocations: 132.5 kB / 380.4 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.003475, allocations: 4.375 kB / 380.4 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.003496, allocations: 8.375 kB / 380.4 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.003632, allocations: 85.94 kB / 380.5 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.00364, allocations: 4.188 kB / 380.5 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.003648, allocations: 384 / 380.5 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.003655, allocations: 384 / 380.5 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.397e-05/0.003689, allocations: 19.92 kB / 380.5 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.004108, allocations: 0.5171 MB / 381 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.004222, allocations: 43.09 kB / 381 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.262e-05/0.004244, allocations: 19.67 kB / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.004255, allocations: 0 / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.004279, allocations: 37.33 kB / 381.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.00428, allocations: 7.938 kB / 381.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003333/0.004613, allocations: 81.52 kB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.00464, allocations: 51.41 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.714e-05/0.004727, allocations: 177.9 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.004739, allocations: 29.69 kB / 381.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.004791, allocations: 138.8 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.248e-06/0.0048, allocations: 11.91 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.004832, allocations: 31.36 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.004943, allocations: 496.1 kB / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.004959, allocations: 4 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.368e-05/0.004993, allocations: 50.72 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.234e-05/0.005045, allocations: 50.69 kB / 382.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.005046, allocations: 0 / 382.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.914e-05/0.005135, allocations: 81.53 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.005147, allocations: 8 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.005152, allocations: 0 / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.005164, allocations: 0 / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.315e-05/0.005208, allocations: 19.94 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.005212, allocations: 0 / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.155e-05/0.005234, allocations: 7.984 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.005239, allocations: 0 / 382.3 MB, free: 14.07 MB / 362.7 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 7.113e-05/0.00531, allocations: 164.5 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.005325, allocations: 7.938 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.189e-05/0.005347, allocations: 12.06 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.005349, allocations: 384 / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.005353, allocations: 0 / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.005356, allocations: 0 / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.812e-05/0.005454, allocations: 124.6 kB / 382.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.005456, allocations: 3.984 kB / 382.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.005497, allocations: 11.98 kB / 382.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.0055, allocations: 7.938 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.005508, allocations: 0 / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.005509, allocations: 7.875 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.005509, allocations: 0 / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.00566, allocations: 215.9 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.005668, allocations: 7.953 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.00568, allocations: 3.938 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.768e-05/0.005708, allocations: 0 / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/0.005725, allocations: 0 / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.005727, allocations: 4 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.391e-05/0.005771, allocations: 135.2 kB / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005771, allocations: 0 / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001433/0.005915, allocations: 8 kB / 383 MB, free: 13.3 MB / 362.7 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 6.703e-05/0.005982, allocations: 95.22 kB / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.77e-05/0.006079, allocations: 31.67 kB / 383.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.006081, allocations: 0 / 383.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.006105, allocations: 23.61 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.006375, allocations: 4 kB / 383.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.006671, allocations: 150 kB / 383.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.557e-05/0.006707, allocations: 59.34 kB / 383.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.511e-05/0.006732, allocations: 4 kB / 383.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.006761, allocations: 16.69 kB / 383.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.006762, allocations: 0 / 383.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of Templates: time 0.002118/0.008879, allocations: 0.4935 MB / 383.9 MB, free: 12.38 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.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: 3.04157948307693]