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.001359/0.001359, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.001453/0.001453, allocations: 208.2 kB / 20.75 MB, free: 2.336 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.473/1.473, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.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.2333/0.2333, allocations: 46.91 MB / 357.1 MB, free: 10.32 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: "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 71.88 kB / 0.4909 GB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1331, allocations: 65.99 MB / 0.5554 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003355/0.1365, allocations: 1.572 MB / 0.5569 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003413/0.1368, allocations: 75.77 kB / 0.557 GB, free: 4.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.024e-05/0.1369, allocations: 0 / 0.557 GB, free: 4.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.137, allocations: 7.875 kB / 0.557 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.85e-05/0.1371, allocations: 3.938 kB / 0.557 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.1372, allocations: 19.98 kB / 0.557 GB, free: 4.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.1374, allocations: 43.84 kB / 0.557 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1375, allocations: 8 kB / 0.557 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.944e-05/0.1375, allocations: 7.938 kB / 0.5571 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.321e-05/0.1376, allocations: 19.91 kB / 0.5571 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1376, allocations: 4 kB / 0.5571 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.1376, allocations: 0 / 0.5571 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.75e-05/0.1376, allocations: 15.92 kB / 0.5571 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.1377, allocations: 11.94 kB / 0.5571 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.1378, allocations: 43.7 kB / 0.5571 GB, free: 4.023 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1378, allocations: 4 kB / 0.5571 GB, free: 4.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1378, allocations: 0 / 0.5571 GB, free: 4.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1378, allocations: 0 / 0.5571 GB, free: 4.02 MB / 414.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.0005066/0.1383, allocations: 347.3 kB / 0.5575 GB, free: 3.629 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1383, allocations: 12.03 kB / 0.5575 GB, free: 3.617 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.99e-05/0.1384, allocations: 38.75 kB / 0.5575 GB, free: 3.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.1384, allocations: 4.891 kB / 0.5575 GB, free: 3.566 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.1387, allocations: 176.4 kB / 0.5577 GB, free: 3.355 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1387, allocations: 12.38 kB / 0.5577 GB, free: 3.344 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.1387, allocations: 384 / 0.5577 GB, free: 3.344 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.1389, allocations: 76.75 kB / 0.5578 GB, free: 3.254 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1389, allocations: 3.938 kB / 0.5578 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.1389, allocations: 0 / 0.5578 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1389, allocations: 0 / 0.5578 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.139, allocations: 27.92 kB / 0.5578 GB, free: 3.223 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.1395, allocations: 449.1 kB / 0.5582 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.1397, allocations: 42.56 kB / 0.5583 GB, free: 2.676 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.426e-05/0.1398, allocations: 20.88 kB / 0.5583 GB, free: 2.652 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.1398, allocations: 4 kB / 0.5583 GB, free: 2.648 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.1398, allocations: 30.56 kB / 0.5583 GB, free: 2.609 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1398, allocations: 0 / 0.5583 GB, free: 2.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=4): time 0.000489/0.1403, allocations: 117.5 kB / 0.5585 GB, free: 2.488 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.1403, allocations: 51.41 kB / 0.5585 GB, free: 2.426 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.226e-05/0.1404, allocations: 113.8 kB / 0.5586 GB, free: 2.305 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1404, allocations: 33.64 kB / 0.5586 GB, free: 2.266 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/0.1405, allocations: 92.09 kB / 0.5587 GB, free: 2.172 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.1405, allocations: 19.83 kB / 0.5587 GB, free: 2.152 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.1406, allocations: 17.72 kB / 0.5588 GB, free: 2.129 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1407, allocations: 322.8 kB / 0.5591 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.989e-05/0.1407, allocations: 12 kB / 0.5591 GB, free: 1.793 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.735e-05/0.1408, allocations: 45.08 kB / 0.5591 GB, free: 1.738 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.1409, allocations: 55.36 kB / 0.5592 GB, free: 1.672 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1409, allocations: 0 / 0.5592 GB, free: 1.672 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001711/0.1411, allocations: 89.97 kB / 0.5593 GB, free: 1.578 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1411, allocations: 13.86 kB / 0.5593 GB, free: 1.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1411, allocations: 0 / 0.5593 GB, free: 1.566 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1411, allocations: 0 / 0.5593 GB, free: 1.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.1412, allocations: 15.94 kB / 0.5593 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.1412, allocations: 0 / 0.5593 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.307e-05/0.1413, allocations: 11.98 kB / 0.5593 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1413, allocations: 0 / 0.5593 GB, free: 1.539 MB / 414.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 9.354e-05/0.1414, allocations: 120 kB / 0.5594 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.1414, allocations: 16.02 kB / 0.5594 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.1414, allocations: 3.906 kB / 0.5594 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1414, allocations: 0 / 0.5594 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1414, allocations: 0 / 0.5594 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1414, allocations: 0 / 0.5594 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.1416, allocations: 174 kB / 0.5596 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1416, allocations: 0 / 0.5596 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.977e-05/0.1417, allocations: 15.92 kB / 0.5596 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1417, allocations: 0 / 0.5596 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.1417, allocations: 3.938 kB / 0.5596 GB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1417, allocations: 4 kB / 0.5596 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1417, allocations: 8 kB / 0.5596 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.142, allocations: 175.5 kB / 0.5598 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.142, allocations: 85.09 kB / 0.5599 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.142, allocations: 0 / 0.5599 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.178e-05/0.1421, allocations: 0 / 0.5599 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.1421, allocations: 7.984 kB / 0.5599 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.1421, allocations: 4.062 kB / 0.5599 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.344e-05/0.1422, allocations: 91.22 kB / 0.56 GB, free: 0.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1422, allocations: 0 / 0.56 GB, free: 0.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.1424, allocations: 15.94 kB / 0.56 GB, free: 0.7344 MB / 414.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 0.0005675/0.143, allocations: 0.7086 MB / 0.5607 GB, free: 0 / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.1431, allocations: 35.91 kB / 0.5607 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1431, allocations: 0 / 0.5607 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.93e-05/0.1432, allocations: 19.98 kB / 0.5607 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.1434, allocations: 8 kB / 0.5607 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.145, allocations: 1.376 MB / 0.5621 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.1453, allocations: 0.6807 MB / 0.5628 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.446e-05/0.1453, allocations: 7.984 kB / 0.5628 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.1454, allocations: 15.44 kB / 0.5628 GB, free: 13.73 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1454, allocations: 0 / 0.5628 GB, free: 13.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.1702, allocations: 1.518 MB / 0.5643 GB, free: 12.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.19/8.36, allocations: 9.469 kB / 0.5643 GB, free: 12.28 MB / 430.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/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: 11.28090628189966]