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.00219/0.00219, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002631/0.002631, allocations: 165.3 kB / 24.27 MB, free: 160 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.569/1.569, allocations: 177.2 MB / 204.6 MB, free: 5.598 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.3647/0.3647, allocations: 34.27 MB / 295.3 MB, free: 0.6836 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.483e-06/1.483e-06, allocations: 0 / 377.3 MB, free: 3.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.078e-05, allocations: 2.312 kB / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003044/0.003075, allocations: 1.572 MB / 378.8 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003046/0.00338, allocations: 75.78 kB / 378.9 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.622e-05/0.003456, allocations: 3.938 kB / 378.9 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.003577, allocations: 3.938 kB / 378.9 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.747e-05/0.003615, allocations: 7.938 kB / 378.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.003762, allocations: 23.91 kB / 379 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.003883, allocations: 31.92 kB / 379 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.665e-05/0.00396, allocations: 4 kB / 379 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.25e-05/0.004022, allocations: 27.91 kB / 379 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.186e-05/0.004074, allocations: 7.984 kB / 379 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.004095, allocations: 8 kB / 379 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.004106, allocations: 0 / 379 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.004132, allocations: 11.94 kB / 379 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.004154, allocations: 3.984 kB / 379.1 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.004269, allocations: 39.83 kB / 379.1 MB, free: 1.168 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.004271, allocations: 0 / 379.1 MB, free: 1.168 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004271, allocations: 0 / 379.1 MB, free: 1.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.004276, allocations: 0 / 379.1 MB, free: 1.168 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.0006414/0.004918, allocations: 376.2 kB / 379.5 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.004956, allocations: 12.03 kB / 379.5 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.005, allocations: 8.938 kB / 379.5 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.005195, allocations: 136.4 kB / 379.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.005205, allocations: 384 / 379.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.005228, allocations: 4.375 kB / 379.6 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.005414, allocations: 77.3 kB / 379.7 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.005424, allocations: 192 / 379.7 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.005438, allocations: 8.375 kB / 379.7 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.005443, allocations: 384 / 379.7 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.07e-05/0.005533, allocations: 27.86 kB / 379.7 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006166/0.00615, allocations: 0.525 MB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.006336, allocations: 47.05 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.421e-05/0.00639, allocations: 19.77 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.006407, allocations: 4 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.00644, allocations: 37.33 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.006441, allocations: 0 / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004709/0.006912, allocations: 101.5 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.006956, allocations: 59.34 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.007105, allocations: 181.9 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.007125, allocations: 25.7 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.007252, allocations: 146.8 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.00727, allocations: 15.91 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.007318, allocations: 23.38 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002578/0.007575, allocations: 0.4923 MB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.56e-05/0.007621, allocations: 8 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.453e-05/0.007705, allocations: 62.66 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.007831, allocations: 70.67 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.007832, allocations: 0 / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001734/0.008005, allocations: 89.83 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.00802, allocations: 4 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.008024, allocations: 0 / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.008037, allocations: 4 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.155e-05/0.008099, allocations: 8.047 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/0.008116, allocations: 4 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.276e-05/0.008159, allocations: 16.02 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.008168, allocations: 4 kB / 381.7 MB, free: 14.34 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.0001211/0.008289, allocations: 164.6 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.008316, allocations: 3.938 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.008341, allocations: 8 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.008342, allocations: 0 / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.008345, allocations: 0 / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.008348, allocations: 0 / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.008524, allocations: 132.6 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.008526, allocations: 0 / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.776e-05/0.008603, allocations: 11.98 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.00861, allocations: 11.94 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.008621, allocations: 4 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.008622, allocations: 0 / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.008623, allocations: 0 / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.008913, allocations: 227.8 kB / 382.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.008929, allocations: 11.95 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.008945, allocations: 3.938 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.683e-05/0.009002, allocations: 0 / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.009037, allocations: 7.922 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.009043, allocations: 4 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.258e-05/0.009136, allocations: 143.2 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009136, allocations: 0 / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.009348, allocations: 4 kB / 382.4 MB, free: 13.55 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.0001147/0.009463, allocations: 91.25 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.009623, allocations: 47.61 kB / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.009624, allocations: 0 / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.266e-05/0.009677, allocations: 23.67 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.009932, allocations: 8.188 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004176/0.01035, allocations: 161.9 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.739e-05/0.01043, allocations: 71.33 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.689e-05/0.01046, allocations: 4 kB / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.01049, allocations: 8.5 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01049, allocations: 0 / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of Templates: time 0.003276/0.01377, allocations: 494.4 kB / 383.3 MB, free: 12.59 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","/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: 5.14045827195514]