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.001604/0.001604, allocations: 72.69 kB / 20.67 MB, free: 1.016 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.002666/0.002666, allocations: 164.9 kB / 23.96 MB, free: 4.145 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.585/1.585, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 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.2137/0.2137, allocations: 34.28 MB / 295 MB, free: 14.58 MB / 286.1 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.993e-06/1.993e-06, allocations: 0 / 442.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.818e-05, allocations: 2.281 kB / 442.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002648/0.002676, allocations: 1.564 MB / 444.2 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002411/0.002917, allocations: 67.72 kB / 444.3 MB, free: 3.785 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.466e-05/0.002981, allocations: 4 kB / 444.3 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.00309, allocations: 11.86 kB / 444.3 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.441e-05/0.003124, allocations: 3.938 kB / 444.3 MB, free: 3.766 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.003251, allocations: 19.92 kB / 444.3 MB, free: 3.746 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.003363, allocations: 39.86 kB / 444.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.003463, allocations: 7.984 kB / 444.4 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.944e-05/0.003513, allocations: 19.97 kB / 444.4 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.131e-05/0.003564, allocations: 7.938 kB / 444.4 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.003582, allocations: 8 kB / 444.4 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-06/0.003592, allocations: 0 / 444.4 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.003612, allocations: 11.98 kB / 444.4 MB, free: 3.652 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.031e-05/0.003633, allocations: 4 kB / 444.4 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.003737, allocations: 35.83 kB / 444.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003739, allocations: 0 / 444.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.003742, allocations: 3.984 kB / 444.5 MB, free: 3.609 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.003745, allocations: 0 / 444.5 MB, free: 3.609 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.0004389/0.004184, allocations: 270.2 kB / 444.7 MB, free: 3.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.004219, allocations: 12.03 kB / 444.7 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.004251, allocations: 4.938 kB / 444.7 MB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.004435, allocations: 137.6 kB / 444.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.004451, allocations: 8.375 kB / 444.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.004469, allocations: 384 / 444.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.004632, allocations: 72.77 kB / 445 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.004641, allocations: 192 / 445 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.00465, allocations: 384 / 445 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.004657, allocations: 4.375 kB / 445 MB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.866e-05/0.004756, allocations: 31.84 kB / 445 MB, free: 3.008 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.005244, allocations: 392.9 kB / 445.4 MB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.005408, allocations: 42.5 kB / 445.4 MB, free: 2.535 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.005462, allocations: 16.86 kB / 445.4 MB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.005472, allocations: 0 / 445.4 MB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.005505, allocations: 34.59 kB / 445.5 MB, free: 2.473 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.005506, allocations: 0 / 445.5 MB, free: 2.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005002/0.006006, allocations: 113.8 kB / 445.6 MB, free: 2.355 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.006051, allocations: 55.34 kB / 445.6 MB, free: 2.289 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.006163, allocations: 113.8 kB / 445.7 MB, free: 2.168 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.006182, allocations: 25.7 kB / 445.8 MB, free: 2.137 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.006262, allocations: 96.08 kB / 445.9 MB, free: 2.039 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.006279, allocations: 15.84 kB / 445.9 MB, free: 2.023 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.006325, allocations: 25.7 kB / 445.9 MB, free: 1.992 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.00649, allocations: 310.8 kB / 446.2 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.546e-05/0.006545, allocations: 15.98 kB / 446.2 MB, free: 1.664 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.018e-05/0.006616, allocations: 39.47 kB / 446.3 MB, free: 1.613 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.006761, allocations: 71.34 kB / 446.3 MB, free: 1.531 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.006762, allocations: 0 / 446.3 MB, free: 1.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001907/0.006953, allocations: 93.44 kB / 446.4 MB, free: 1.434 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.00697, allocations: 6.656 kB / 446.4 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.006976, allocations: 0 / 446.4 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.006992, allocations: 4.094 kB / 446.4 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.103e-05/0.007063, allocations: 15.98 kB / 446.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.007069, allocations: 0 / 446.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.985e-05/0.007109, allocations: 4 kB / 446.5 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.007118, allocations: 4 kB / 446.5 MB, free: 1.402 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 0.0001191/0.007237, allocations: 117.8 kB / 446.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.007266, allocations: 3.938 kB / 446.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.007302, allocations: 15.98 kB / 446.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.007303, allocations: 0 / 446.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.007308, allocations: 3.938 kB / 446.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.007311, allocations: 0 / 446.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.00749, allocations: 117.3 kB / 446.7 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.007491, allocations: 0 / 446.7 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.757e-05/0.007569, allocations: 8 kB / 446.7 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.007578, allocations: 7.938 kB / 446.7 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.00759, allocations: 7.984 kB / 446.7 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007591, allocations: 0 / 446.7 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.007592, allocations: 0 / 446.7 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.007869, allocations: 175.9 kB / 446.9 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.366e-05/0.007883, allocations: 7.891 kB / 446.9 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.007898, allocations: 8.094 kB / 446.9 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.63e-05/0.007964, allocations: 3.984 kB / 446.9 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/0.007979, allocations: 7.875 kB / 446.9 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.007983, allocations: 4 kB / 446.9 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.968e-05/0.008042, allocations: 91.27 kB / 447 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.008042, allocations: 0 / 447 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.008275, allocations: 8 kB / 447 MB, free: 0.7617 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 9.575e-05/0.008371, allocations: 91.25 kB / 447.1 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.008552, allocations: 44.03 kB / 447.2 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008554, allocations: 0 / 447.2 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.532e-05/0.008599, allocations: 12 kB / 447.2 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.008875, allocations: 11.98 kB / 447.2 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.00925, allocations: 152.7 kB / 447.3 MB, free: 432 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.009353, allocations: 67.61 kB / 447.4 MB, free: 344 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.295e-05/0.009386, allocations: 4 kB / 447.4 MB, free: 340 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.009419, allocations: 16.56 kB / 447.4 MB, free: 324 kB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.009419, allocations: 0 / 447.4 MB, free: 324 kB / 366.1 MB Notification: Performance of Templates: time 0.1739/0.1833, allocations: 465.2 kB / 447.9 MB, free: 19.13 MB / 366.1 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.937845408916473]