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.001789/0.001789, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001625/0.001625, allocations: 161.7 kB / 24.27 MB, free: 172 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.513/1.513, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3497/0.3497, allocations: 34.26 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] 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.704e-06/1.704e-06, allocations: 0 / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.12e-05, allocations: 2.312 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003187/0.003218, allocations: 1.558 MB / 378.8 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002921/0.00351, allocations: 63.78 kB / 378.9 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.566e-05/0.003576, allocations: 0 / 378.9 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.003696, allocations: 11.88 kB / 378.9 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.607e-05/0.003732, allocations: 7.922 kB / 378.9 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.003893, allocations: 23.92 kB / 378.9 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.004035, allocations: 31.92 kB / 379 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.072e-05/0.004126, allocations: 11.98 kB / 379 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.512e-05/0.004191, allocations: 19.92 kB / 379 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.383e-05/0.004245, allocations: 7.984 kB / 379 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.004262, allocations: 0 / 379 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.004274, allocations: 4 kB / 379 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.004295, allocations: 7.938 kB / 379 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.004329, allocations: 11.98 kB / 379 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.004452, allocations: 35.83 kB / 379.1 MB, free: 1.148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.004457, allocations: 4 kB / 379.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.004458, allocations: 0 / 379.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.004462, allocations: 4 kB / 379.1 MB, free: 1.141 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.0004881/0.00495, allocations: 270.2 kB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.004988, allocations: 8.031 kB / 379.4 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.005035, allocations: 4.938 kB / 379.4 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.005297, allocations: 137.6 kB / 379.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.00531, allocations: 4.359 kB / 379.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.005341, allocations: 8.375 kB / 379.5 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.005519, allocations: 64.81 kB / 379.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.005527, allocations: 4.188 kB / 379.6 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.005546, allocations: 8.375 kB / 379.6 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.005551, allocations: 384 / 379.6 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.771e-05/0.005648, allocations: 27.86 kB / 379.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.006216, allocations: 384.9 kB / 380 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.006403, allocations: 46.59 kB / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.065e-05/0.006463, allocations: 16.84 kB / 380 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.006481, allocations: 0 / 380 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.006518, allocations: 42.5 kB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.006519, allocations: 0 / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005971/0.007116, allocations: 113.5 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.007172, allocations: 55.41 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.007296, allocations: 113.8 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.007319, allocations: 25.7 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.853e-05/0.007418, allocations: 100 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.007433, allocations: 7.906 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.007485, allocations: 17.72 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.007688, allocations: 326.8 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.408e-05/0.007742, allocations: 12 kB / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.739e-05/0.00782, allocations: 47.34 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.007961, allocations: 55.41 kB / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.007962, allocations: 0 / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002119/0.008173, allocations: 101.4 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.008191, allocations: 4 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.008197, allocations: 0 / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.008222, allocations: 4 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.942e-05/0.008291, allocations: 8 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.008297, allocations: 0 / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.414e-05/0.008341, allocations: 11.98 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.00835, allocations: 4 kB / 381.1 MB, free: 14.93 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 0.0001179/0.008468, allocations: 117.8 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.008497, allocations: 8.406 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.00853, allocations: 12 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.008532, allocations: 0 / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.008536, allocations: 0 / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.008541, allocations: 3.984 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.008717, allocations: 121.2 kB / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.008719, allocations: 0 / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.045e-05/0.008799, allocations: 12 kB / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.008804, allocations: 3.938 kB / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.008812, allocations: 0 / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.008814, allocations: 0 / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.008815, allocations: 4 kB / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.009142, allocations: 183.4 kB / 381.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.009166, allocations: 11.92 kB / 381.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.009183, allocations: 3.938 kB / 381.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.009289, allocations: 4 kB / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.009316, allocations: 3.984 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.009322, allocations: 0 / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001024/0.009425, allocations: 91.27 kB / 381.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009425, allocations: 0 / 381.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002875/0.009712, allocations: 12 kB / 381.7 MB, free: 14.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 0.000129/0.009841, allocations: 91.31 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001697/0.01001, allocations: 39.91 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01001, allocations: 0 / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.087e-05/0.01006, allocations: 16 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.01034, allocations: 13.86 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/0.01081, allocations: 156.2 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.224e-05/0.0109, allocations: 75.52 kB / 382 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.385e-05/0.01094, allocations: 0 / 382 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.01097, allocations: 12.5 kB / 382 MB, free: 13.84 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01097, allocations: 0 / 382 MB, free: 13.84 MB / 362.7 MB Notification: Performance of Templates: time 0.003166/0.01414, allocations: 489.8 kB / 382.5 MB, free: 13.37 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 4.719594226917252]