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.001744/0.001744, allocations: 113 kB / 18.49 MB, free: 4.539 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.001591/0.001591, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.533/1.533, allocations: 230.6 MB / 254.8 MB, free: 15.21 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.2296/0.2296, allocations: 46.91 MB / 357.8 MB, free: 10.3 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 59.91 kB / 0.4916 GB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1302, allocations: 65.99 MB / 0.556 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002738/0.1329, allocations: 1.57 MB / 0.5576 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002469/0.1332, allocations: 75.72 kB / 0.5577 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.93e-05/0.1332, allocations: 0 / 0.5577 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 9.704e-05/0.1333, allocations: 3.938 kB / 0.5577 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.81e-05/0.1333, allocations: 3.938 kB / 0.5577 GB, free: 4.148 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001208/0.1335, allocations: 23.91 kB / 0.5577 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.1336, allocations: 43.86 kB / 0.5577 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.913e-05/0.1337, allocations: 15.97 kB / 0.5577 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.2e-05/0.1337, allocations: 15.88 kB / 0.5578 GB, free: 4.051 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.1337, allocations: 11.92 kB / 0.5578 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.1338, allocations: 4 kB / 0.5578 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.365e-06/0.1338, allocations: 0 / 0.5578 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.1338, allocations: 11.94 kB / 0.5578 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.1338, allocations: 11.94 kB / 0.5578 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 9.789e-05/0.1339, allocations: 43.75 kB / 0.5578 GB, free: 3.969 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1339, allocations: 0 / 0.5578 GB, free: 3.969 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1339, allocations: 4 kB / 0.5578 GB, free: 3.965 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1339, allocations: 0 / 0.5578 GB, free: 3.965 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.0004593/0.1344, allocations: 351.3 kB / 0.5582 GB, free: 3.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1344, allocations: 12.03 kB / 0.5582 GB, free: 3.559 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.094e-05/0.1344, allocations: 192 / 0.5582 GB, free: 3.559 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.692e-05/0.1345, allocations: 30.75 kB / 0.5582 GB, free: 3.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.1345, allocations: 12.83 kB / 0.5582 GB, free: 3.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.1347, allocations: 176.4 kB / 0.5584 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1347, allocations: 8.375 kB / 0.5584 GB, free: 3.289 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.1347, allocations: 384 / 0.5584 GB, free: 3.289 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.1349, allocations: 80.55 kB / 0.5585 GB, free: 3.195 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1349, allocations: 0 / 0.5585 GB, free: 3.195 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1349, allocations: 0 / 0.5585 GB, free: 3.195 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1349, allocations: 0 / 0.5585 GB, free: 3.195 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.108e-05/0.135, allocations: 27.92 kB / 0.5585 GB, free: 3.168 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/0.1355, allocations: 461.1 kB / 0.5589 GB, free: 2.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.1357, allocations: 38.56 kB / 0.559 GB, free: 2.613 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.161e-05/0.1357, allocations: 16.86 kB / 0.559 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.1357, allocations: 0 / 0.559 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.1358, allocations: 34.56 kB / 0.559 GB, free: 2.551 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1358, allocations: 0 / 0.559 GB, free: 2.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004478/0.1362, allocations: 105.9 kB / 0.5591 GB, free: 2.441 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.1363, allocations: 55.34 kB / 0.5592 GB, free: 2.375 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.623e-05/0.1364, allocations: 121.8 kB / 0.5593 GB, free: 2.246 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1364, allocations: 26.08 kB / 0.5593 GB, free: 2.215 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.1364, allocations: 92.08 kB / 0.5594 GB, free: 2.121 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.1365, allocations: 21.5 kB / 0.5594 GB, free: 2.102 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.1365, allocations: 21.7 kB / 0.5595 GB, free: 2.074 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1366, allocations: 322.7 kB / 0.5598 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.266e-05/0.1367, allocations: 19.92 kB / 0.5598 GB, free: 1.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.186e-05/0.1368, allocations: 39.47 kB / 0.5598 GB, free: 1.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.1369, allocations: 63.34 kB / 0.5599 GB, free: 1.605 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1369, allocations: 4 kB / 0.5599 GB, free: 1.602 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001674/0.1371, allocations: 81.56 kB / 0.56 GB, free: 1.516 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1371, allocations: 9.875 kB / 0.56 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1371, allocations: 0 / 0.56 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1371, allocations: 0 / 0.56 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.764e-05/0.1372, allocations: 19.98 kB / 0.56 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1372, allocations: 0 / 0.56 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.072e-05/0.1372, allocations: 7.938 kB / 0.56 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1372, allocations: 7.938 kB / 0.56 GB, free: 1.473 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 8.111e-05/0.1373, allocations: 112.1 kB / 0.5601 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.1373, allocations: 11.95 kB / 0.5601 GB, free: 1.344 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.1373, allocations: 11.89 kB / 0.5601 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1373, allocations: 4 kB / 0.5601 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1373, allocations: 0 / 0.5601 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1374, allocations: 0 / 0.5601 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.1375, allocations: 169.6 kB / 0.5603 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1375, allocations: 0 / 0.5603 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.566e-05/0.1376, allocations: 8 kB / 0.5603 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1376, allocations: 0 / 0.5603 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1376, allocations: 4 kB / 0.5603 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1376, allocations: 7.984 kB / 0.5603 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1376, allocations: 0 / 0.5603 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.1379, allocations: 179.4 kB / 0.5605 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.1379, allocations: 81.06 kB / 0.5606 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.1379, allocations: 0 / 0.5606 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.717e-05/0.138, allocations: 15.95 kB / 0.5606 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.138, allocations: 0 / 0.5606 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.138, allocations: 4.062 kB / 0.5606 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.484e-05/0.1381, allocations: 95.2 kB / 0.5607 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1381, allocations: 288 / 0.5607 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002232/0.1383, allocations: 8 kB / 0.5607 GB, free: 0.6797 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.0005636/0.1389, allocations: 0.7124 MB / 0.5614 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.139, allocations: 31.94 kB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.139, allocations: 4 kB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.4e-05/0.1391, allocations: 16.16 kB / 0.5614 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.1393, allocations: 11.98 kB / 0.5614 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.1408, allocations: 1.377 MB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.1412, allocations: 0.6885 MB / 0.5635 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.527e-05/0.1412, allocations: 4 kB / 0.5635 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.1413, allocations: 19.42 kB / 0.5635 GB, free: 13.67 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1413, allocations: 0 / 0.5635 GB, free: 13.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.1589, allocations: 1.546 MB / 0.565 GB, free: 12.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.158/8.317, allocations: 12 kB / 0.565 GB, free: 12.21 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.396265157032758]