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.002362/0.002362, allocations: 109 kB / 20.48 MB, free: 1.492 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.001528/0.001528, allocations: 211.9 kB / 23.79 MB, free: 4.707 MB / 14.72 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 1.481/1.481, allocations: 207.6 MB / 234.6 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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.2319/0.2319, allocations: 44.23 MB / 331.1 MB, free: 9.527 MB / 270.1 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: "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 72.94 kB / 468.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1201, allocations: 61.05 MB / 0.5169 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003071/0.1232, allocations: 1.572 MB / 0.5184 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002431/0.1235, allocations: 55.8 kB / 0.5185 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.47e-05/0.1235, allocations: 4 kB / 0.5185 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.1236, allocations: 7.875 kB / 0.5185 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.015e-05/0.1237, allocations: 11.91 kB / 0.5185 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.1238, allocations: 19.92 kB / 0.5185 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.124, allocations: 39.86 kB / 0.5186 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1241, allocations: 8 kB / 0.5186 GB, free: 5.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.171e-05/0.1241, allocations: 19.92 kB / 0.5186 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.329e-05/0.1242, allocations: 15.92 kB / 0.5186 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.1242, allocations: 0 / 0.5186 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-06/0.1242, allocations: 4 kB / 0.5186 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.33e-05/0.1242, allocations: 3.938 kB / 0.5186 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.1243, allocations: 15.94 kB / 0.5186 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.1244, allocations: 43.75 kB / 0.5187 GB, free: 5.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1244, allocations: 0 / 0.5187 GB, free: 5.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1244, allocations: 0 / 0.5187 GB, free: 5.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.1244, allocations: 0 / 0.5187 GB, free: 5.52 MB / 398.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.0004419/0.1248, allocations: 278.2 kB / 0.5189 GB, free: 5.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1249, allocations: 12.03 kB / 0.519 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.113e-05/0.1249, allocations: 192 / 0.519 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.095e-05/0.1249, allocations: 38.73 kB / 0.519 GB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.1249, allocations: 8.891 kB / 0.519 GB, free: 5.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.1252, allocations: 122.5 kB / 0.5191 GB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.1252, allocations: 384 / 0.5191 GB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.1252, allocations: 8.375 kB / 0.5191 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.1254, allocations: 76.52 kB / 0.5192 GB, free: 4.906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1254, allocations: 3.984 kB / 0.5192 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.1254, allocations: 0 / 0.5192 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.1254, allocations: 4 kB / 0.5192 GB, free: 4.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.17e-05/0.1255, allocations: 23.92 kB / 0.5192 GB, free: 4.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.126, allocations: 412.3 kB / 0.5196 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.1262, allocations: 46.5 kB / 0.5197 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.1263, allocations: 8.859 kB / 0.5197 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.1263, allocations: 4.094 kB / 0.5197 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1263, allocations: 38.55 kB / 0.5197 GB, free: 4.305 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1263, allocations: 0 / 0.5197 GB, free: 4.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004496/0.1268, allocations: 109.4 kB / 0.5198 GB, free: 4.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.1268, allocations: 59.34 kB / 0.5199 GB, free: 4.121 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.437e-05/0.1269, allocations: 113.8 kB / 0.52 GB, free: 4 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.1269, allocations: 29.7 kB / 0.52 GB, free: 3.965 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.127, allocations: 96.08 kB / 0.5201 GB, free: 3.867 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.127, allocations: 15.84 kB / 0.5201 GB, free: 3.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.127, allocations: 17.72 kB / 0.5201 GB, free: 3.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1272, allocations: 326.8 kB / 0.5204 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.254e-05/0.1273, allocations: 15.98 kB / 0.5205 GB, free: 3.484 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.1273, allocations: 39.41 kB / 0.5205 GB, free: 3.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.1274, allocations: 67.67 kB / 0.5206 GB, free: 3.355 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1274, allocations: 0 / 0.5206 GB, free: 3.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001678/0.1276, allocations: 85.5 kB / 0.5206 GB, free: 3.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1276, allocations: 8 kB / 0.5207 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1276, allocations: 4.094 kB / 0.5207 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1276, allocations: 0 / 0.5207 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.375e-05/0.1277, allocations: 12 kB / 0.5207 GB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1277, allocations: 0 / 0.5207 GB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.117e-05/0.1278, allocations: 7.984 kB / 0.5207 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.1278, allocations: 7.938 kB / 0.5207 GB, free: 3.227 MB / 398.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.702e-05/0.1279, allocations: 109.8 kB / 0.5208 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.1279, allocations: 11.95 kB / 0.5208 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.1279, allocations: 8 kB / 0.5208 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1279, allocations: 4 kB / 0.5208 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1279, allocations: 4 kB / 0.5208 GB, free: 3.074 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1279, allocations: 3.938 kB / 0.5208 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.1281, allocations: 144.7 kB / 0.521 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1281, allocations: 0 / 0.521 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.858e-05/0.1282, allocations: 11.98 kB / 0.521 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1282, allocations: 0 / 0.521 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1282, allocations: 4 kB / 0.521 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1282, allocations: 0 / 0.521 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1282, allocations: 0 / 0.521 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.1285, allocations: 183.5 kB / 0.5211 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.719e-05/0.1285, allocations: 7.953 kB / 0.5212 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.1285, allocations: 0 / 0.5212 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.1286, allocations: 7.938 kB / 0.5212 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.1286, allocations: 3.984 kB / 0.5212 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.1286, allocations: 4 kB / 0.5212 GB, free: 2.652 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.122e-05/0.1287, allocations: 95.47 kB / 0.5213 GB, free: 2.559 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1287, allocations: 4.062 kB / 0.5213 GB, free: 2.555 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.1289, allocations: 12 kB / 0.5213 GB, free: 2.543 MB / 398.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.0005549/0.1295, allocations: 0.698 MB / 0.522 GB, free: 1.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.1296, allocations: 43.97 kB / 0.522 GB, free: 1.777 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1296, allocations: 0 / 0.522 GB, free: 1.777 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.233e-05/0.1297, allocations: 16 kB / 0.522 GB, free: 1.762 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.13, allocations: 11.98 kB / 0.522 GB, free: 1.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.1318, allocations: 1.373 MB / 0.5234 GB, free: 288 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.1321, allocations: 0.6846 MB / 0.524 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.915e-05/0.1322, allocations: 7.984 kB / 0.524 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.1322, allocations: 11.44 kB / 0.5241 GB, free: 15.55 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1322, allocations: 0 / 0.5241 GB, free: 15.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.1614, allocations: 1.751 MB / 0.5258 GB, free: 13.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.74, allocations: 7.5 kB / 0.5258 GB, free: 13.8 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 15.00887642800808]