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.001379/0.001379, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.001487/0.001487, allocations: 216.3 kB / 23 MB, free: 5.004 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.365/1.365, allocations: 207.6 MB / 233.8 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.2137/0.2137, allocations: 44.24 MB / 330.3 MB, free: 9.605 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",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.002193/0.002193, allocations: 79.83 kB / 467.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1186, allocations: 61.05 MB / 0.5161 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002837/0.1215, allocations: 1.574 MB / 0.5177 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002399/0.1217, allocations: 55.8 kB / 0.5177 GB, free: 5.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.1218, allocations: 7.938 kB / 0.5177 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.1219, allocations: 7.922 kB / 0.5177 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.634e-05/0.1219, allocations: 3.938 kB / 0.5177 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.1221, allocations: 15.98 kB / 0.5178 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.1222, allocations: 43.8 kB / 0.5178 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1223, allocations: 11.98 kB / 0.5178 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.614e-05/0.1223, allocations: 15.92 kB / 0.5178 GB, free: 5.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.471e-05/0.1224, allocations: 15.92 kB / 0.5178 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.1224, allocations: 4 kB / 0.5178 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-06/0.1224, allocations: 0 / 0.5178 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.1225, allocations: 11.94 kB / 0.5179 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.1225, allocations: 11.94 kB / 0.5179 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.1226, allocations: 39.81 kB / 0.5179 GB, free: 5.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1226, allocations: 0 / 0.5179 GB, free: 5.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1226, allocations: 0 / 0.5179 GB, free: 5.527 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1226, allocations: 0 / 0.5179 GB, free: 5.527 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.000461/0.1231, allocations: 278.2 kB / 0.5182 GB, free: 5.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1231, allocations: 12.03 kB / 0.5182 GB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.457e-05/0.1232, allocations: 34.75 kB / 0.5182 GB, free: 5.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.1232, allocations: 8.891 kB / 0.5182 GB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.1235, allocations: 126.4 kB / 0.5183 GB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1235, allocations: 384 / 0.5183 GB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.1235, allocations: 4.375 kB / 0.5184 GB, free: 5.008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1237, allocations: 72.81 kB / 0.5184 GB, free: 4.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1237, allocations: 3.938 kB / 0.5184 GB, free: 4.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-06/0.1237, allocations: 0 / 0.5184 GB, free: 4.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1237, allocations: 0 / 0.5184 GB, free: 4.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.993e-05/0.1238, allocations: 27.92 kB / 0.5185 GB, free: 4.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.1243, allocations: 420.3 kB / 0.5189 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.1245, allocations: 46.44 kB / 0.5189 GB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.1245, allocations: 20.92 kB / 0.5189 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.1246, allocations: 0 / 0.5189 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.1246, allocations: 38.56 kB / 0.519 GB, free: 4.305 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1246, allocations: 0 / 0.519 GB, free: 4.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004781/0.1251, allocations: 105.4 kB / 0.5191 GB, free: 4.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.1251, allocations: 51.41 kB / 0.5191 GB, free: 4.133 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.1252, allocations: 125.8 kB / 0.5192 GB, free: 4 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1252, allocations: 25.7 kB / 0.5192 GB, free: 3.969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.1253, allocations: 88.09 kB / 0.5193 GB, free: 3.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.1253, allocations: 19.84 kB / 0.5194 GB, free: 3.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.1253, allocations: 21.7 kB / 0.5194 GB, free: 3.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1255, allocations: 318.8 kB / 0.5197 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.011e-05/0.1255, allocations: 19.98 kB / 0.5197 GB, free: 3.492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.105e-05/0.1256, allocations: 39.36 kB / 0.5197 GB, free: 3.441 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.1257, allocations: 59.42 kB / 0.5198 GB, free: 3.371 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1257, allocations: 0 / 0.5198 GB, free: 3.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001576/0.1258, allocations: 85.5 kB / 0.5199 GB, free: 3.281 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1259, allocations: 8 kB / 0.5199 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1259, allocations: 0 / 0.5199 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1259, allocations: 4.094 kB / 0.5199 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.021e-05/0.1259, allocations: 16 kB / 0.5199 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.126, allocations: 3.984 kB / 0.5199 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/0.126, allocations: 4 kB / 0.5199 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.126, allocations: 0 / 0.5199 GB, free: 3.246 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 9.652e-05/0.1261, allocations: 121.7 kB / 0.52 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.1261, allocations: 7.953 kB / 0.52 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.1261, allocations: 4 kB / 0.52 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1261, allocations: 0 / 0.52 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.1262, allocations: 4 kB / 0.52 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1262, allocations: 3.984 kB / 0.52 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.1263, allocations: 144.7 kB / 0.5202 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1263, allocations: 4.359 kB / 0.5202 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.079e-05/0.1264, allocations: 12 kB / 0.5202 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1264, allocations: 0 / 0.5202 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1264, allocations: 0 / 0.5202 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1264, allocations: 7.938 kB / 0.5202 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1264, allocations: 0 / 0.5202 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.1267, allocations: 179.4 kB / 0.5204 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.1267, allocations: 12.41 kB / 0.5204 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.1267, allocations: 4 kB / 0.5204 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.865e-05/0.1268, allocations: 4 kB / 0.5204 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.1268, allocations: 7.922 kB / 0.5204 GB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.1268, allocations: 0 / 0.5204 GB, free: 2.664 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.954e-05/0.1269, allocations: 91.27 kB / 0.5205 GB, free: 2.574 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1269, allocations: 64 / 0.5205 GB, free: 2.574 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.1271, allocations: 15.94 kB / 0.5205 GB, free: 2.559 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.0004854/0.1276, allocations: 0.6969 MB / 0.5212 GB, free: 1.836 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.1277, allocations: 44.09 kB / 0.5212 GB, free: 1.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1277, allocations: 4.062 kB / 0.5212 GB, free: 1.789 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.911e-05/0.1278, allocations: 19.92 kB / 0.5212 GB, free: 1.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.128, allocations: 8 kB / 0.5213 GB, free: 1.762 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.1295, allocations: 1.369 MB / 0.5226 GB, free: 304 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1298, allocations: 0.6885 MB / 0.5233 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.919e-05/0.1299, allocations: 0 / 0.5233 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.1299, allocations: 19.42 kB / 0.5233 GB, free: 15.56 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1299, allocations: 0 / 0.5233 GB, free: 15.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.1577, allocations: 1.725 MB / 0.525 GB, free: 13.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11, allocations: 7.922 kB / 0.525 GB, free: 13.83 MB / 414.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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: 14.13917338700412]