Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001147/0.001147, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001025/0.001025, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9474/0.9474, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1251/0.1251, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.584e-06/2.584e-06, allocations: 0 / 347.6 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.174e-05/4.432e-05, allocations: 4.281 kB / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002323/0.002368, allocations: 1.589 MB / 349.2 MB, free: 7.867 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000245/0.002613, allocations: 55.8 kB / 349.3 MB, free: 7.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.002674, allocations: 4 kB / 349.3 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.002788, allocations: 3.938 kB / 349.3 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.816e-05/0.002826, allocations: 7.938 kB / 349.3 MB, free: 7.797 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001221/0.002948, allocations: 23.91 kB / 349.3 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.003068, allocations: 39.91 kB / 349.4 MB, free: 7.734 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.963e-05/0.003158, allocations: 8 kB / 349.4 MB, free: 7.727 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.6e-05/0.003204, allocations: 15.92 kB / 349.4 MB, free: 7.711 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.081e-05/0.003254, allocations: 7.984 kB / 349.4 MB, free: 7.703 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.003274, allocations: 4 kB / 349.4 MB, free: 7.699 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-06/0.003282, allocations: 4 kB / 349.4 MB, free: 7.695 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.003299, allocations: 11.92 kB / 349.4 MB, free: 7.684 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.063e-05/0.003319, allocations: 11.98 kB / 349.4 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.003423, allocations: 27.8 kB / 349.5 MB, free: 7.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003425, allocations: 4 kB / 349.5 MB, free: 7.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003426, allocations: 0 / 349.5 MB, free: 7.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.00343, allocations: 0 / 349.5 MB, free: 7.641 MB / 282.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.0003001/0.00373, allocations: 380.5 kB / 349.8 MB, free: 7.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.003768, allocations: 8.031 kB / 349.8 MB, free: 7.223 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.003805, allocations: 4.938 kB / 349.9 MB, free: 7.219 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.003918, allocations: 132.5 kB / 350 MB, free: 7.062 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.003927, allocations: 384 / 350 MB, free: 7.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.003957, allocations: 4.375 kB / 350 MB, free: 7.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.004077, allocations: 97.94 kB / 350.1 MB, free: 6.941 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.004084, allocations: 192 / 350.1 MB, free: 6.941 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.004096, allocations: 384 / 350.1 MB, free: 6.941 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.004103, allocations: 4.312 kB / 350.1 MB, free: 6.938 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.901e-05/0.004132, allocations: 15.88 kB / 350.1 MB, free: 6.922 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.004449, allocations: 0.5211 MB / 350.6 MB, free: 6.355 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.004553, allocations: 38.98 kB / 350.7 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.004573, allocations: 11.69 kB / 350.7 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/0.00458, allocations: 0 / 350.7 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.004597, allocations: 49.33 kB / 350.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.004599, allocations: 3.984 kB / 350.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003199/0.004919, allocations: 81.61 kB / 350.8 MB, free: 6.141 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.773e-05/0.004936, allocations: 51.41 kB / 350.9 MB, free: 6.078 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.778e-05/0.004994, allocations: 169.9 kB / 351 MB, free: 5.895 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.759e-06/0.004999, allocations: 25.7 kB / 351 MB, free: 5.863 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.005036, allocations: 146.8 kB / 351.2 MB, free: 5.715 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.045e-05/0.005046, allocations: 19.89 kB / 351.2 MB, free: 5.695 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.005073, allocations: 27.38 kB / 351.2 MB, free: 5.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.222e-05/0.005115, allocations: 0.4884 MB / 351.7 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.143e-05/0.005136, allocations: 8 kB / 351.7 MB, free: 5.152 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.314e-05/0.00517, allocations: 42.73 kB / 351.8 MB, free: 5.094 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.031e-05/0.00523, allocations: 54.69 kB / 351.8 MB, free: 5.023 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.005231, allocations: 0 / 351.8 MB, free: 5.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001082/0.005339, allocations: 73.45 kB / 351.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.005354, allocations: 8 kB / 351.9 MB, free: 4.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.00536, allocations: 3.984 kB / 351.9 MB, free: 4.934 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.005375, allocations: 4.094 kB / 351.9 MB, free: 4.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.314e-05/0.005438, allocations: 12 kB / 351.9 MB, free: 4.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.005444, allocations: 4 kB / 351.9 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.159e-05/0.005476, allocations: 0 / 351.9 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.005482, allocations: 4 kB / 351.9 MB, free: 4.91 MB / 282.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 5.311e-05/0.005535, allocations: 156.6 kB / 352.1 MB, free: 4.746 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.005563, allocations: 11.92 kB / 352.1 MB, free: 4.734 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.005586, allocations: 8 kB / 352.1 MB, free: 4.727 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.005588, allocations: 3.938 kB / 352.1 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.005592, allocations: 0 / 352.1 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.005595, allocations: 4 kB / 352.1 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.005714, allocations: 124.6 kB / 352.2 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.005715, allocations: 0 / 352.2 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.138e-05/0.005777, allocations: 15.94 kB / 352.2 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.005781, allocations: 7.922 kB / 352.3 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.005792, allocations: 4 kB / 352.3 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.005793, allocations: 0 / 352.3 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.005794, allocations: 0 / 352.3 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.005941, allocations: 203.9 kB / 352.5 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.269e-05/0.005953, allocations: 3.953 kB / 352.5 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.005968, allocations: 7.969 kB / 352.5 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.69e-05/0.006025, allocations: 4 kB / 352.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.006059, allocations: 8.344 kB / 352.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.006063, allocations: 0 / 352.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.17e-05/0.006095, allocations: 135.2 kB / 352.6 MB, free: 4.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.006095, allocations: 0 / 352.6 MB, free: 4.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002625/0.006358, allocations: 8 kB / 352.6 MB, free: 4.152 MB / 282.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 8.031e-05/0.006438, allocations: 91.25 kB / 352.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.006555, allocations: 35.59 kB / 352.7 MB, free: 4.016 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.006557, allocations: 4.188 kB / 352.8 MB, free: 4.012 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.562e-05/0.006582, allocations: 15.69 kB / 352.8 MB, free: 3.992 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.006905, allocations: 15.92 kB / 352.8 MB, free: 3.977 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.007333, allocations: 165.9 kB / 352.9 MB, free: 3.785 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.497e-05/0.007368, allocations: 59.34 kB / 353 MB, free: 3.707 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.991e-05/0.007398, allocations: 0 / 353 MB, free: 3.707 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.00743, allocations: 12.5 kB / 353 MB, free: 3.691 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.007431, allocations: 0 / 353 MB, free: 3.691 MB / 282.7 MB Notification: Performance of Templates: time 0.003022/0.01045, allocations: 0.573 MB / 353.6 MB, free: 3.129 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.0103201624006033]