Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 117.6 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002695/0.002695, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 225.6 MB / 249.8 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2586/0.2586, allocations: 44.91 MB / 349.6 MB, free: 1.77 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 68.77 kB / 491.8 MB, free: 30.08 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1102, allocations: 64.26 MB / 0.543 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002849/0.1131, allocations: 1.543 MB / 0.5445 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000228/0.1133, allocations: 63.78 kB / 0.5446 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.117e-05/0.1133, allocations: 3.938 kB / 0.5446 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.1135, allocations: 3.938 kB / 0.5446 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.558e-05/0.1135, allocations: 7.875 kB / 0.5446 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.1136, allocations: 15.98 kB / 0.5446 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.1137, allocations: 43.91 kB / 0.5446 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1138, allocations: 16.16 kB / 0.5446 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.262e-05/0.1139, allocations: 15.97 kB / 0.5447 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.463e-05/0.1139, allocations: 19.81 kB / 0.5447 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1139, allocations: 4 kB / 0.5447 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.126e-06/0.1139, allocations: 0 / 0.5447 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.114, allocations: 7.984 kB / 0.5447 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.114, allocations: 19.88 kB / 0.5447 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.1141, allocations: 27.89 kB / 0.5447 GB, free: 2.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1141, allocations: 0 / 0.5447 GB, free: 2.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1141, allocations: 0 / 0.5447 GB, free: 2.344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1141, allocations: 7.938 kB / 0.5447 GB, free: 2.336 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.0004992/0.1146, allocations: 355.3 kB / 0.5451 GB, free: 1.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1146, allocations: 12.03 kB / 0.5451 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.1147, allocations: 30.75 kB / 0.5451 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.1147, allocations: 8.922 kB / 0.5451 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.1149, allocations: 180.3 kB / 0.5453 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.115, allocations: 8.312 kB / 0.5453 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.115, allocations: 8.375 kB / 0.5453 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.1151, allocations: 72.81 kB / 0.5454 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1151, allocations: 3.938 kB / 0.5454 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.1152, allocations: 0 / 0.5454 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1152, allocations: 0 / 0.5454 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.379e-05/0.1153, allocations: 27.92 kB / 0.5454 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.1158, allocations: 453.2 kB / 0.5459 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.1159, allocations: 42.48 kB / 0.5459 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.116, allocations: 20.94 kB / 0.5459 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.116, allocations: 4 kB / 0.5459 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.116, allocations: 30.56 kB / 0.5459 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.116, allocations: 0 / 0.5459 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004369/0.1165, allocations: 109.4 kB / 0.5461 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1165, allocations: 51.41 kB / 0.5461 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.213e-05/0.1166, allocations: 121.8 kB / 0.5462 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.1166, allocations: 25.7 kB / 0.5462 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.1167, allocations: 96.09 kB / 0.5463 GB, free: 492 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.1167, allocations: 19.84 kB / 0.5464 GB, free: 472 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.1167, allocations: 21.7 kB / 0.5464 GB, free: 444 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1169, allocations: 314.8 kB / 0.5467 GB, free: 120 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.291e-05/0.1169, allocations: 15.98 kB / 0.5467 GB, free: 104 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-05/0.117, allocations: 39.42 kB / 0.5467 GB, free: 52 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.1171, allocations: 63.36 kB / 0.5468 GB, free: 15.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1171, allocations: 0 / 0.5468 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001729/0.1173, allocations: 89.5 kB / 0.5469 GB, free: 15.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1173, allocations: 8.094 kB / 0.5469 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.1173, allocations: 4 kB / 0.5469 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1173, allocations: 0 / 0.5469 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.1174, allocations: 15.92 kB / 0.5469 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1174, allocations: 4 kB / 0.5469 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.551e-05/0.1174, allocations: 0 / 0.5469 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.1174, allocations: 4 kB / 0.5469 GB, free: 15.85 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.302e-05/0.1175, allocations: 121.7 kB / 0.547 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.1176, allocations: 4 kB / 0.547 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.1176, allocations: 11.91 kB / 0.547 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1176, allocations: 3.984 kB / 0.547 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1176, allocations: 0 / 0.547 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1176, allocations: 0 / 0.547 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.1178, allocations: 173.6 kB / 0.5472 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1178, allocations: 0 / 0.5472 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.049e-05/0.1179, allocations: 8 kB / 0.5472 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1179, allocations: 0 / 0.5472 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1179, allocations: 0 / 0.5472 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1179, allocations: 0 / 0.5472 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1179, allocations: 0 / 0.5472 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.1181, allocations: 183.8 kB / 0.5474 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.1182, allocations: 85.11 kB / 0.5475 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.1182, allocations: 12.02 kB / 0.5475 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.924e-05/0.1183, allocations: 0 / 0.5475 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.1183, allocations: 7.922 kB / 0.5475 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.1183, allocations: 4 kB / 0.5475 GB, free: 15.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.737e-05/0.1184, allocations: 99.64 kB / 0.5476 GB, free: 15.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1184, allocations: 0 / 0.5476 GB, free: 15.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.1186, allocations: 7.938 kB / 0.5476 GB, free: 15.04 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.0005384/0.1191, allocations: 0.693 MB / 0.5483 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.1193, allocations: 47.97 kB / 0.5483 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1193, allocations: 0 / 0.5483 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.76e-05/0.1193, allocations: 19.92 kB / 0.5483 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.1196, allocations: 8 kB / 0.5483 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.1211, allocations: 1.371 MB / 0.5497 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.1214, allocations: 0.6883 MB / 0.5504 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.832e-05/0.1214, allocations: 3.938 kB / 0.5504 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.1215, allocations: 23.42 kB / 0.5504 GB, free: 12.04 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1215, allocations: 4 kB / 0.5504 GB, free: 12.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.1447, allocations: 1.571 MB / 0.5519 GB, free: 10.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/7.986, allocations: 3.938 kB / 0.5519 GB, free: 10.54 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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.145264520309865]