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.001131/0.001131, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005282/0.005282, allocations: 160 kB / 24.7 MB, free: 9.43 MB / 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 0.8452/0.8452, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2222/0.2222, allocations: 34.25 MB / 295.7 MB, free: 0.6914 MB / 266.7 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.092e-06/1.092e-06, allocations: 0 / 443.4 MB, free: 1.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.759e-05, allocations: 6.281 kB / 443.4 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.1516/0.1516, allocations: 1.556 MB / 445 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002314/0.1518, allocations: 69.81 kB / 445 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.206e-05/0.1519, allocations: 0 / 445 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.729e-05/0.152, allocations: 4.594 kB / 445.1 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.952e-05/0.152, allocations: 6.141 kB / 445.1 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001267/0.1521, allocations: 25.5 kB / 445.1 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.1522, allocations: 35.59 kB / 445.1 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.683e-05/0.1523, allocations: 8.797 kB / 445.1 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.997e-05/0.1524, allocations: 22.2 kB / 445.1 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.459e-05/0.1524, allocations: 5.969 kB / 445.2 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.1524, allocations: 6.672 kB / 445.2 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-06/0.1524, allocations: 4 kB / 445.2 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.1525, allocations: 7.562 kB / 445.2 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.1525, allocations: 11.41 kB / 445.2 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.692e-05/0.1526, allocations: 36.94 kB / 445.2 MB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1526, allocations: 2.031 kB / 445.2 MB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1526, allocations: 3.938 kB / 445.2 MB, free: 43.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.1526, allocations: 0 / 445.2 MB, free: 43.72 MB / 410.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.0003446/0.1529, allocations: 275.1 kB / 445.5 MB, free: 43.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.153, allocations: 11.66 kB / 445.5 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.153, allocations: 1.469 kB / 445.5 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.1532, allocations: 124.6 kB / 445.6 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1532, allocations: 6.156 kB / 445.6 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.1532, allocations: 6.688 kB / 445.6 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.1533, allocations: 72.81 kB / 445.7 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1533, allocations: 192 / 445.7 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.1534, allocations: 3.812 kB / 445.7 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1534, allocations: 3.406 kB / 445.7 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.804e-05/0.1534, allocations: 30.33 kB / 445.7 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.1537, allocations: 396.3 kB / 446.1 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.1538, allocations: 43.25 kB / 446.2 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.483e-05/0.1538, allocations: 20.77 kB / 446.2 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.1538, allocations: 0 / 446.2 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.019e-05/0.1538, allocations: 38.44 kB / 446.2 MB, free: 42.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.71e-07/0.1538, allocations: 3.5 kB / 446.2 MB, free: 42.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003062/0.1542, allocations: 107.5 kB / 446.3 MB, free: 42.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.1542, allocations: 54.69 kB / 446.4 MB, free: 42.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.367e-05/0.1542, allocations: 119.5 kB / 446.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.791e-06/0.1542, allocations: 25.7 kB / 446.5 MB, free: 42.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.134e-05/0.1543, allocations: 94.05 kB / 446.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.053e-06/0.1543, allocations: 11.84 kB / 446.6 MB, free: 42.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/0.1543, allocations: 20.16 kB / 446.7 MB, free: 42.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.609e-05/0.1543, allocations: 324.7 kB / 447 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.647e-05/0.1543, allocations: 15.62 kB / 447 MB, free: 42.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/0.1544, allocations: 38.53 kB / 447 MB, free: 42.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.738e-05/0.1544, allocations: 60.73 kB / 447.1 MB, free: 42.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1544, allocations: 0 / 447.1 MB, free: 42.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.767e-05/0.1545, allocations: 90.08 kB / 447.2 MB, free: 42.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.1545, allocations: 10 kB / 447.2 MB, free: 42.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.1545, allocations: 0 / 447.2 MB, free: 42.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1545, allocations: 2.719 kB / 447.2 MB, free: 42.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.762e-05/0.1546, allocations: 16.78 kB / 447.2 MB, free: 42.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1546, allocations: 2.312 kB / 447.2 MB, free: 42.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.1546, allocations: 1.844 kB / 447.2 MB, free: 42.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-06/0.1546, allocations: 4.281 kB / 447.2 MB, free: 42.04 MB / 410.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 3.445e-05/0.1546, allocations: 115 kB / 447.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.1546, allocations: 6.062 kB / 447.3 MB, free: 41.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.706e-05/0.1547, allocations: 14.78 kB / 447.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1547, allocations: 0 / 447.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1547, allocations: 0 / 447.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1547, allocations: 0 / 447.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.804e-05/0.1547, allocations: 114.3 kB / 447.5 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1547, allocations: 0 / 447.5 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.88e-05/0.1548, allocations: 16.06 kB / 447.5 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1548, allocations: 5.688 kB / 447.5 MB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.1548, allocations: 0 / 447.5 MB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1548, allocations: 5.906 kB / 447.5 MB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1548, allocations: 4 kB / 447.5 MB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.1549, allocations: 178.1 kB / 447.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-06/0.1549, allocations: 10.89 kB / 447.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.1549, allocations: 0 / 447.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.928e-05/0.1549, allocations: 2.875 kB / 447.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.162e-05/0.155, allocations: 7.047 kB / 447.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.155, allocations: 0 / 447.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.728e-05/0.155, allocations: 90.95 kB / 447.8 MB, free: 41.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.155, allocations: 0.6562 kB / 447.8 MB, free: 41.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001397/0.1551, allocations: 8 kB / 447.8 MB, free: 41.56 MB / 410.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 5.846e-05/0.1552, allocations: 95.12 kB / 447.9 MB, free: 41.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.097e-05/0.1553, allocations: 42 kB / 447.9 MB, free: 41.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1553, allocations: 0 / 447.9 MB, free: 41.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.011e-05/0.1553, allocations: 21.86 kB / 447.9 MB, free: 41.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.1555, allocations: 12.22 kB / 448 MB, free: 41.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.1557, allocations: 175.1 kB / 448.1 MB, free: 41.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.208e-05/0.1557, allocations: 75.66 kB / 448.2 MB, free: 41.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/0.1558, allocations: 11.28 kB / 448.2 MB, free: 41.23 MB / 410.7 MB Notification: Performance of SimCode: time 4.7e-07/0.1558, allocations: 0 / 448.2 MB, free: 41.23 MB / 410.7 MB Notification: Performance of Templates: time 0.001348/0.1571, allocations: 0.7881 MB / 449 MB, free: 41.2 MB / 410.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.268519751727581]