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.001193/0.001193, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0009011/0.0009011, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8981/0.8981, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.259/0.259, allocations: 34.25 MB / 294.9 MB, free: 0.707 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 442.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.611e-05, allocations: 2.281 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002085/0.002101, allocations: 1.549 MB / 443.7 MB, free: 116 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002135/0.002314, allocations: 67.67 kB / 443.8 MB, free: 48 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.002378, allocations: 0 / 443.8 MB, free: 48 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.002479, allocations: 11.88 kB / 443.8 MB, free: 36 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.912e-05/0.002508, allocations: 7.922 kB / 443.8 MB, free: 28 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.002629, allocations: 19.97 kB / 443.8 MB, free: 8 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.17/0.1726, allocations: 36.5 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1727, allocations: 7.953 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.36e-05/0.1727, allocations: 19.31 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.908e-05/0.1728, allocations: 10.34 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.1728, allocations: 2.781 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-06/0.1728, allocations: 5.578 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.1728, allocations: 2.875 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.1729, allocations: 10.78 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.173, allocations: 37.19 kB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.173, allocations: 0 / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.173, allocations: 4.906 kB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.173, allocations: 0 / 444 MB, free: 43.25 MB / 410.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.0003066/0.1733, allocations: 281 kB / 444.2 MB, free: 42.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1733, allocations: 7.938 kB / 444.2 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.274e-05/0.1733, allocations: 36.56 kB / 444.3 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.168e-05/0.1734, allocations: 4.312 kB / 444.3 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.1736, allocations: 130.5 kB / 444.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.1736, allocations: 1.5 kB / 444.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.1736, allocations: 8.125 kB / 444.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.1737, allocations: 74.56 kB / 444.5 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1737, allocations: 2.391 kB / 444.5 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.1737, allocations: 384 / 444.5 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1737, allocations: 4.125 kB / 444.5 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.511e-05/0.1738, allocations: 30.06 kB / 444.5 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008841/0.1747, allocations: 404.3 kB / 444.9 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.1749, allocations: 52.83 kB / 445 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.1749, allocations: 15.23 kB / 445 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.1749, allocations: 0 / 445 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.1749, allocations: 38.14 kB / 445 MB, free: 42.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.1749, allocations: 0 / 445 MB, free: 42.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003794/0.1753, allocations: 106.5 kB / 445.1 MB, free: 42.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.1753, allocations: 54.23 kB / 445.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.656e-05/0.1754, allocations: 121.2 kB / 445.3 MB, free: 42.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.693e-06/0.1754, allocations: 29.64 kB / 445.3 MB, free: 42.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/0.1754, allocations: 90.25 kB / 445.4 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.658e-06/0.1754, allocations: 18.78 kB / 445.4 MB, free: 41.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.1755, allocations: 19.31 kB / 445.5 MB, free: 41.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.409e-05/0.1755, allocations: 321 kB / 445.8 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.618e-05/0.1756, allocations: 16.06 kB / 445.8 MB, free: 41.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-05/0.1756, allocations: 46.11 kB / 445.8 MB, free: 41.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.333e-05/0.1756, allocations: 64.42 kB / 445.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.1757, allocations: 0 / 445.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.25e-05/0.1757, allocations: 85.44 kB / 446 MB, free: 41.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1758, allocations: 5.75 kB / 446 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1758, allocations: 96 / 446 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1758, allocations: 6.938 kB / 446 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.115e-05/0.1758, allocations: 12.09 kB / 446 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1758, allocations: 6.203 kB / 446 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.235e-05/0.1758, allocations: 2.906 kB / 446 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.1759, allocations: 6.781 kB / 446 MB, free: 41.53 MB / 410.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 4.776e-05/0.1759, allocations: 119.7 kB / 446.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.1759, allocations: 2.906 kB / 446.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.188e-05/0.1759, allocations: 10.56 kB / 446.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.1759, allocations: 2.297 kB / 446.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1759, allocations: 2.906 kB / 446.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1759, allocations: 4 kB / 446.2 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.892e-05/0.176, allocations: 135.5 kB / 446.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.176, allocations: 0 / 446.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.773e-05/0.1761, allocations: 15.45 kB / 446.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.1761, allocations: 0 / 446.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1761, allocations: 5.562 kB / 446.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.1761, allocations: 0 / 446.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1761, allocations: 0 / 446.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.1763, allocations: 177.9 kB / 446.5 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-06/0.1763, allocations: 14.28 kB / 446.5 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.1763, allocations: 0 / 446.5 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.406e-05/0.1763, allocations: 4.188 kB / 446.5 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.1763, allocations: 4.641 kB / 446.5 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.1763, allocations: 2.969 kB / 446.5 MB, free: 41.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.24e-05/0.1764, allocations: 90.3 kB / 446.6 MB, free: 41.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1764, allocations: 0 / 446.6 MB, free: 41.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001535/0.1765, allocations: 5.906 kB / 446.6 MB, free: 41.03 MB / 410.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.0002357/0.1768, allocations: 0.71 MB / 447.3 MB, free: 40.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.1769, allocations: 41.05 kB / 447.3 MB, free: 40.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1769, allocations: 0 / 447.3 MB, free: 40.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.493e-05/0.1769, allocations: 18.55 kB / 447.4 MB, free: 40.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.1771, allocations: 14.7 kB / 447.4 MB, free: 40.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007852/0.1779, allocations: 1.36 MB / 448.7 MB, free: 39.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.647e-05/0.1779, allocations: 75.48 kB / 448.8 MB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.022e-05/0.178, allocations: 2.656 kB / 448.8 MB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.178, allocations: 15.38 kB / 448.8 MB, free: 39.07 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.178, allocations: 0 / 448.8 MB, free: 39.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01565/0.1936, allocations: 2.165 MB / 451 MB, free: 38.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.749/6.943, allocations: 19.53 kB / 451 MB, free: 38.18 MB / 410.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins/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: 8.975685948505998]