Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00187/0.00187, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002201/0.002201, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2206/0.2206, allocations: 46.9 MB / 357.4 MB, free: 10.56 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 79.86 kB / 0.4912 GB, free: 8.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1281, allocations: 65.98 MB / 0.5557 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002648/0.1308, allocations: 1.579 MB / 0.5572 GB, free: 4.809 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002338/0.131, allocations: 67.78 kB / 0.5573 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.1311, allocations: 7.938 kB / 0.5573 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 9.93e-05/0.1312, allocations: 7.922 kB / 0.5573 GB, free: 4.727 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.838e-05/0.1312, allocations: 3.938 kB / 0.5573 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001123/0.1313, allocations: 15.98 kB / 0.5573 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.1314, allocations: 39.84 kB / 0.5574 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.659e-05/0.1315, allocations: 11.98 kB / 0.5574 GB, free: 4.656 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.664e-05/0.1315, allocations: 15.94 kB / 0.5574 GB, free: 4.641 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.498e-05/0.1316, allocations: 19.86 kB / 0.5574 GB, free: 4.621 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.1316, allocations: 0 / 0.5574 GB, free: 4.621 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.007e-05/0.1316, allocations: 4 kB / 0.5574 GB, free: 4.617 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.1316, allocations: 3.938 kB / 0.5574 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.1316, allocations: 15.94 kB / 0.5574 GB, free: 4.598 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.1317, allocations: 39.75 kB / 0.5575 GB, free: 4.559 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1318, allocations: 4 kB / 0.5575 GB, free: 4.555 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1318, allocations: 0 / 0.5575 GB, free: 4.555 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1318, allocations: 0 / 0.5575 GB, free: 4.555 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.0004631/0.1322, allocations: 362.2 kB / 0.5578 GB, free: 4.152 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1323, allocations: 8.031 kB / 0.5578 GB, free: 4.145 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.723e-05/0.1323, allocations: 30.75 kB / 0.5578 GB, free: 4.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.191e-05/0.1323, allocations: 8.891 kB / 0.5579 GB, free: 4.098 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.1326, allocations: 180.4 kB / 0.558 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.1326, allocations: 384 / 0.558 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.1326, allocations: 4.375 kB / 0.558 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1328, allocations: 76.75 kB / 0.5581 GB, free: 3.789 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1328, allocations: 3.938 kB / 0.5581 GB, free: 3.785 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.1328, allocations: 4 kB / 0.5581 GB, free: 3.781 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1328, allocations: 7.984 kB / 0.5581 GB, free: 3.773 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.753e-05/0.1329, allocations: 23.92 kB / 0.5581 GB, free: 3.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.1334, allocations: 449.2 kB / 0.5586 GB, free: 3.254 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.1336, allocations: 42.5 kB / 0.5586 GB, free: 3.203 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.049e-05/0.1337, allocations: 16.86 kB / 0.5586 GB, free: 3.184 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.1337, allocations: 0 / 0.5586 GB, free: 3.184 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1337, allocations: 34.64 kB / 0.5587 GB, free: 3.141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.1337, allocations: 4 kB / 0.5587 GB, free: 3.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004353/0.1341, allocations: 109.4 kB / 0.5588 GB, free: 3.023 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1342, allocations: 51.41 kB / 0.5588 GB, free: 2.961 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.499e-05/0.1343, allocations: 121.8 kB / 0.5589 GB, free: 2.832 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1343, allocations: 25.7 kB / 0.559 GB, free: 2.801 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.1344, allocations: 92.09 kB / 0.559 GB, free: 2.707 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.1344, allocations: 16.22 kB / 0.5591 GB, free: 2.691 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.1344, allocations: 29.7 kB / 0.5591 GB, free: 2.656 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1346, allocations: 314.8 kB / 0.5594 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.155e-05/0.1346, allocations: 15.98 kB / 0.5594 GB, free: 2.324 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.056e-05/0.1347, allocations: 45.06 kB / 0.5594 GB, free: 2.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.1348, allocations: 63.36 kB / 0.5595 GB, free: 2.195 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1348, allocations: 0 / 0.5595 GB, free: 2.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001686/0.135, allocations: 89.5 kB / 0.5596 GB, free: 2.102 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.135, allocations: 4 kB / 0.5596 GB, free: 2.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.135, allocations: 8 kB / 0.5596 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.135, allocations: 96 / 0.5596 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.559e-05/0.1351, allocations: 15.98 kB / 0.5596 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.1351, allocations: 4 kB / 0.5596 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.696e-05/0.1351, allocations: 0 / 0.5596 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.1351, allocations: 4 kB / 0.5596 GB, free: 2.066 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.333e-05/0.1352, allocations: 117.8 kB / 0.5597 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.1353, allocations: 3.953 kB / 0.5597 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.1353, allocations: 15.89 kB / 0.5598 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1353, allocations: 0 / 0.5598 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.1353, allocations: 4 kB / 0.5598 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1353, allocations: 0 / 0.5598 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.1355, allocations: 173.6 kB / 0.5599 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.1355, allocations: 7.938 kB / 0.5599 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.169e-05/0.1356, allocations: 8 kB / 0.5599 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1356, allocations: 384 / 0.5599 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.1356, allocations: 3.984 kB / 0.56 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1356, allocations: 0 / 0.56 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1356, allocations: 0 / 0.56 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.1358, allocations: 179.5 kB / 0.5601 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.1359, allocations: 81.06 kB / 0.5602 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.1359, allocations: 12.02 kB / 0.5602 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.142e-05/0.136, allocations: 0 / 0.5602 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.065e-05/0.136, allocations: 3.938 kB / 0.5602 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.136, allocations: 4 kB / 0.5602 GB, free: 1.367 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.599e-05/0.136, allocations: 95.2 kB / 0.5603 GB, free: 1.273 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.136, allocations: 0 / 0.5603 GB, free: 1.273 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.1363, allocations: 12 kB / 0.5603 GB, free: 1.262 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.0005491/0.1368, allocations: 0.7049 MB / 0.561 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001526/0.137, allocations: 39.92 kB / 0.561 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.137, allocations: 4.25 kB / 0.5611 GB, free: 500 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-05/0.137, allocations: 11.98 kB / 0.5611 GB, free: 488 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.1373, allocations: 11.98 kB / 0.5611 GB, free: 476 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.139, allocations: 1.366 MB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.1393, allocations: 0.6846 MB / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.16e-05/0.1393, allocations: 4 kB / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.1394, allocations: 19.42 kB / 0.5631 GB, free: 14.27 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1394, allocations: 0 / 0.5631 GB, free: 14.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.1634, allocations: 1.505 MB / 0.5646 GB, free: 12.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.258/8.422, allocations: 20.2 kB / 0.5646 GB, free: 12.81 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.385391782037914]