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.0008758/0.0008758, allocations: 80.44 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009568/0.0009568, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8677/0.8677, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.1325/0.1325, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 3.938 kB / 406.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.893e-05/2.084e-05, allocations: 2.281 kB / 406.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001893/0.001914, allocations: 1.554 MB / 408.4 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001938/0.002108, allocations: 63.8 kB / 408.4 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.302e-05/0.002161, allocations: 0 / 408.4 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.21e-05/0.002253, allocations: 3.938 kB / 408.4 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.386e-05/0.002287, allocations: 15.86 kB / 408.5 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001104/0.002397, allocations: 15.98 kB / 408.5 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.559e-05/0.002493, allocations: 39.84 kB / 408.5 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.633e-05/0.002579, allocations: 4 kB / 408.5 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.969e-05/0.002619, allocations: 19.98 kB / 408.5 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.002663, allocations: 15.91 kB / 408.6 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.002682, allocations: 4 kB / 408.6 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.204e-06/0.002689, allocations: 4 kB / 408.6 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.002703, allocations: 8 kB / 408.6 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.794e-05/0.002721, allocations: 4 kB / 408.6 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.842e-05/0.00282, allocations: 39.81 kB / 408.6 MB, free: 488 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.002822, allocations: 0 / 408.6 MB, free: 488 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.002823, allocations: 3.938 kB / 408.6 MB, free: 484 kB / 378.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.002827, allocations: 0 / 408.6 MB, free: 484 kB / 378.7 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.0003207/0.003147, allocations: 282.2 kB / 408.9 MB, free: 168 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.003184, allocations: 8.031 kB / 408.9 MB, free: 160 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.56e-05/0.00321, allocations: 30.75 kB / 408.9 MB, free: 120 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.029e-05/0.00323, allocations: 12.89 kB / 408.9 MB, free: 108 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.003388, allocations: 117.8 kB / 409.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.003397, allocations: 384 / 409.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.003416, allocations: 20.2 kB / 409.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.003539, allocations: 72.75 kB / 409.1 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.003545, allocations: 192 / 409.1 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-06/0.003553, allocations: 4.375 kB / 409.2 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.003559, allocations: 4.125 kB / 409.2 MB, free: 15.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.127e-05/0.00361, allocations: 19.98 kB / 409.2 MB, free: 15.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.003939, allocations: 412.3 kB / 409.6 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.00406, allocations: 42.5 kB / 409.6 MB, free: 15.33 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/0.004088, allocations: 20.92 kB / 409.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.004098, allocations: 0 / 409.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.004116, allocations: 42.5 kB / 409.7 MB, free: 15.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.004117, allocations: 0 / 409.7 MB, free: 15.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003199/0.004437, allocations: 105.5 kB / 409.8 MB, free: 15.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.004463, allocations: 51.41 kB / 409.8 MB, free: 15.08 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.105e-05/0.004524, allocations: 125.8 kB / 410 MB, free: 14.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.004532, allocations: 25.7 kB / 410 MB, free: 14.92 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.004571, allocations: 88.09 kB / 410.1 MB, free: 14.83 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.004585, allocations: 15.84 kB / 410.1 MB, free: 14.81 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.004613, allocations: 21.7 kB / 410.1 MB, free: 14.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.00468, allocations: 318.8 kB / 410.4 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.097e-05/0.004711, allocations: 15.98 kB / 410.4 MB, free: 14.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.392e-05/0.004745, allocations: 39.42 kB / 410.5 MB, free: 14.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.461e-05/0.00481, allocations: 67.3 kB / 410.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.004811, allocations: 0 / 410.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.186e-05/0.004903, allocations: 81.56 kB / 410.6 MB, free: 14.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.004915, allocations: 4 kB / 410.6 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.00492, allocations: 4 kB / 410.6 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.004933, allocations: 4.094 kB / 410.6 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.713e-05/0.00497, allocations: 19.92 kB / 410.6 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.004975, allocations: 4 kB / 410.6 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.991e-05/0.004995, allocations: 4 kB / 410.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.005, allocations: 4 kB / 410.7 MB, free: 14.19 MB / 394.7 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 5.203e-05/0.005052, allocations: 118.2 kB / 410.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.005065, allocations: 3.953 kB / 410.8 MB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.789e-05/0.005083, allocations: 8 kB / 410.8 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.005086, allocations: 7.922 kB / 410.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.005089, allocations: 3.938 kB / 410.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.005091, allocations: 4 kB / 410.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.005194, allocations: 140.7 kB / 410.9 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005195, allocations: 0 / 410.9 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/0.005241, allocations: 8 kB / 410.9 MB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.005243, allocations: 3.984 kB / 410.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.005249, allocations: 0 / 410.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.00525, allocations: 160 / 410.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.005251, allocations: 0 / 410.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.005398, allocations: 179.8 kB / 411.1 MB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.005409, allocations: 11.98 kB / 411.1 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-06/0.005418, allocations: 4.062 kB / 411.1 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.022e-05/0.005449, allocations: 3.984 kB / 411.1 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.005476, allocations: 8.031 kB / 411.2 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.005478, allocations: 0 / 411.2 MB, free: 13.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.408e-05/0.005512, allocations: 91.27 kB / 411.2 MB, free: 13.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005512, allocations: 0 / 411.2 MB, free: 13.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001404/0.005652, allocations: 12 kB / 411.3 MB, free: 13.52 MB / 394.7 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.0002903/0.005943, allocations: 0.7045 MB / 412 MB, free: 12.79 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.312e-05/0.006036, allocations: 43.98 kB / 412 MB, free: 12.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.006037, allocations: 0 / 412 MB, free: 12.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.664e-05/0.006064, allocations: 19.98 kB / 412 MB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.006268, allocations: 4 kB / 412 MB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.007377, allocations: 1.367 MB / 413.4 MB, free: 11.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.346e-05/0.007421, allocations: 75.52 kB / 413.5 MB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.283e-05/0.007454, allocations: 4 kB / 413.5 MB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.00749, allocations: 16.5 kB / 413.5 MB, free: 11.14 MB / 394.7 MB Notification: Performance of SimCode: time 5.81e-07/0.00749, allocations: 0 / 413.5 MB, free: 11.14 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/0.02332, allocations: 2.255 MB / 415.7 MB, free: 8.879 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.465/6.488, allocations: 16 kB / 415.8 MB, free: 8.863 MB / 394.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins/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: 8.405517280101776]