Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001343/0.001343, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00138/0.00138, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.356/1.356, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.198/0.198, allocations: 32.81 MB / 293.5 MB, free: 52 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 440.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.333e-05, allocations: 6.281 kB / 440.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002691/0.002715, allocations: 1.543 MB / 441.6 MB, free: 6.625 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002472/0.002962, allocations: 67.72 kB / 441.7 MB, free: 6.559 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.003023, allocations: 4 kB / 441.7 MB, free: 6.555 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.344e-05/0.003117, allocations: 11.81 kB / 441.7 MB, free: 6.543 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.687e-05/0.003143, allocations: 4 kB / 441.7 MB, free: 6.539 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.003265, allocations: 23.91 kB / 441.7 MB, free: 6.516 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.003375, allocations: 39.86 kB / 441.8 MB, free: 6.477 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.284e-05/0.003458, allocations: 7.984 kB / 441.8 MB, free: 6.469 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.403e-05/0.003502, allocations: 15.98 kB / 441.8 MB, free: 6.453 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.003552, allocations: 15.91 kB / 441.8 MB, free: 6.438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.003568, allocations: 4 kB / 441.8 MB, free: 6.434 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.072e-05/0.003579, allocations: 4 kB / 441.8 MB, free: 6.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.003595, allocations: 4 kB / 441.8 MB, free: 6.426 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.003617, allocations: 7.938 kB / 441.8 MB, free: 6.418 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.873e-05/0.003716, allocations: 39.88 kB / 441.9 MB, free: 6.379 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.003718, allocations: 0 / 441.9 MB, free: 6.379 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.72e-07/0.003718, allocations: 0 / 441.9 MB, free: 6.379 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.003721, allocations: 3.938 kB / 441.9 MB, free: 6.375 MB / 366.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.000403/0.004124, allocations: 278.2 kB / 442.1 MB, free: 6.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.004154, allocations: 8.031 kB / 442.2 MB, free: 6.062 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.004183, allocations: 4.938 kB / 442.2 MB, free: 6.059 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.00435, allocations: 125.7 kB / 442.3 MB, free: 5.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.004359, allocations: 4.375 kB / 442.3 MB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.004383, allocations: 8.375 kB / 442.3 MB, free: 5.898 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.004542, allocations: 68.81 kB / 442.4 MB, free: 5.816 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.004551, allocations: 192 / 442.4 MB, free: 5.816 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.004564, allocations: 12.34 kB / 442.4 MB, free: 5.805 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.00457, allocations: 8.312 kB / 442.4 MB, free: 5.797 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.178e-05/0.004662, allocations: 27.86 kB / 442.4 MB, free: 5.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.00511, allocations: 388.9 kB / 442.8 MB, free: 5.352 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.005278, allocations: 46.5 kB / 442.8 MB, free: 5.297 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.165e-05/0.00534, allocations: 16.86 kB / 442.8 MB, free: 5.277 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.005355, allocations: 4.078 kB / 442.9 MB, free: 5.273 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.005384, allocations: 34.5 kB / 442.9 MB, free: 5.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.005385, allocations: 0 / 442.9 MB, free: 5.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004526/0.005838, allocations: 105.5 kB / 443 MB, free: 5.121 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.005875, allocations: 51.41 kB / 443 MB, free: 5.059 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.005976, allocations: 117.8 kB / 443.2 MB, free: 4.934 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.005992, allocations: 29.7 kB / 443.2 MB, free: 4.898 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.006051, allocations: 92.09 kB / 443.3 MB, free: 4.805 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.00607, allocations: 19.84 kB / 443.3 MB, free: 4.785 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.006111, allocations: 21.7 kB / 443.3 MB, free: 4.758 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.006237, allocations: 310.8 kB / 443.6 MB, free: 4.445 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.485e-05/0.006291, allocations: 19.98 kB / 443.6 MB, free: 4.426 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.293e-05/0.006354, allocations: 39.41 kB / 443.7 MB, free: 4.375 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.006482, allocations: 67.36 kB / 443.7 MB, free: 4.297 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.006483, allocations: 0 / 443.7 MB, free: 4.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001734/0.006656, allocations: 93.44 kB / 443.8 MB, free: 4.199 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.006669, allocations: 4 kB / 443.8 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.006673, allocations: 0 / 443.8 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.006687, allocations: 4 kB / 443.8 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.376e-05/0.006751, allocations: 11.98 kB / 443.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.006757, allocations: 7.938 kB / 443.9 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.813e-05/0.006795, allocations: 96 / 443.9 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.006803, allocations: 8 kB / 443.9 MB, free: 4.164 MB / 366.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 8.599e-05/0.006889, allocations: 113.8 kB / 444 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.006916, allocations: 7.875 kB / 444 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.006947, allocations: 15.98 kB / 444 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.006949, allocations: 0 / 444 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.006952, allocations: 384 / 444 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.006955, allocations: 0 / 444 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.007093, allocations: 109.3 kB / 444.1 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.007094, allocations: 0 / 444.1 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.908e-05/0.007173, allocations: 20.3 kB / 444.1 MB, free: 3.855 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.007179, allocations: 7.938 kB / 444.1 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.007186, allocations: 0 / 444.1 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.007187, allocations: 0 / 444.1 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.007188, allocations: 0 / 444.1 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.007437, allocations: 179.5 kB / 444.3 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.007453, allocations: 15.91 kB / 444.3 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.007468, allocations: 4 kB / 444.3 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.11e-05/0.007529, allocations: 0 / 444.3 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.007544, allocations: 7.938 kB / 444.3 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.007548, allocations: 0 / 444.3 MB, free: 3.629 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.245e-05/0.00761, allocations: 95.33 kB / 444.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.00761, allocations: 0 / 444.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.007838, allocations: 8 kB / 444.4 MB, free: 3.527 MB / 366.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 8.59e-05/0.007924, allocations: 91.25 kB / 444.5 MB, free: 3.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.008069, allocations: 39.91 kB / 444.6 MB, free: 3.391 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.008071, allocations: 0 / 444.6 MB, free: 3.391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.93e-05/0.00812, allocations: 15.98 kB / 444.6 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.008376, allocations: 21.34 kB / 444.6 MB, free: 3.359 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.008722, allocations: 152.7 kB / 444.8 MB, free: 3.184 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.556e-05/0.008788, allocations: 67.33 kB / 444.8 MB, free: 3.098 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.72e-05/0.008815, allocations: 4 kB / 444.8 MB, free: 3.094 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.008843, allocations: 12.5 kB / 444.8 MB, free: 3.082 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.008844, allocations: 0 / 444.8 MB, free: 3.082 MB / 366.1 MB Notification: Performance of Templates: time 0.002774/0.01162, allocations: 492.8 kB / 445.3 MB, free: 2.609 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.400331608951092]