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.001104/0.001104, allocations: 75.7 kB / 20.01 MB, free: 4.5 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.0008496/0.0008496, allocations: 169.9 kB / 23.31 MB, free: 1.203 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.899/0.899, allocations: 158.6 MB / 185.1 MB, free: 2.988 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.1379/0.1379, allocations: 32.36 MB / 269.7 MB, free: 14.9 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 2.315e-06/2.315e-06, allocations: 0 / 407 MB, free: 2.129 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.661e-05, allocations: 6.078 kB / 407 MB, free: 2.125 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002604/0.002631, allocations: 1.551 MB / 408.6 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002282/0.002859, allocations: 55.8 kB / 408.7 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.678e-05/0.002926, allocations: 7.938 kB / 408.7 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.00303, allocations: 7.938 kB / 408.7 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.518e-05/0.003066, allocations: 3.938 kB / 408.7 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001234/0.003189, allocations: 19.91 kB / 408.7 MB, free: 484 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.773e-05/0.003287, allocations: 39.86 kB / 408.7 MB, free: 444 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.352e-05/0.00338, allocations: 15.98 kB / 408.7 MB, free: 428 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.215e-05/0.003422, allocations: 11.98 kB / 408.8 MB, free: 416 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.93e-05/0.003472, allocations: 11.92 kB / 408.8 MB, free: 404 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.003489, allocations: 4 kB / 408.8 MB, free: 400 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.185e-06/0.003497, allocations: 0 / 408.8 MB, free: 400 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.003513, allocations: 8 kB / 408.8 MB, free: 392 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.003537, allocations: 15.92 kB / 408.8 MB, free: 376 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.003644, allocations: 35.83 kB / 408.8 MB, free: 340 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.003647, allocations: 0 / 408.8 MB, free: 340 kB / 378.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.003648, allocations: 0 / 408.8 MB, free: 340 kB / 378.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.003652, allocations: 4 kB / 408.8 MB, free: 336 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.0003353/0.003987, allocations: 278.2 kB / 409.1 MB, free: 24 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.004025, allocations: 8.031 kB / 409.1 MB, free: 16 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.004065, allocations: 34.75 kB / 409.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/0.004088, allocations: 12.88 kB / 409.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.004262, allocations: 125.7 kB / 409.3 MB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.004272, allocations: 4.375 kB / 409.3 MB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.004293, allocations: 4.328 kB / 409.3 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.004419, allocations: 68.83 kB / 409.4 MB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.004426, allocations: 4.188 kB / 409.4 MB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.004435, allocations: 384 / 409.4 MB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.004441, allocations: 4.125 kB / 409.4 MB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.739e-05/0.004499, allocations: 31.91 kB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.004886, allocations: 400.4 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.005021, allocations: 46.44 kB / 409.8 MB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.005051, allocations: 16.86 kB / 409.9 MB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.005063, allocations: 4 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.005081, allocations: 30.56 kB / 409.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.005082, allocations: 0 / 409.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003649/0.005447, allocations: 117.8 kB / 410 MB, free: 15 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.005478, allocations: 51.41 kB / 410.1 MB, free: 14.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.029e-05/0.005559, allocations: 113.8 kB / 410.2 MB, free: 14.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.005569, allocations: 25.7 kB / 410.2 MB, free: 14.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.005616, allocations: 96.08 kB / 410.3 MB, free: 14.69 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.005629, allocations: 15.84 kB / 410.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.005657, allocations: 25.72 kB / 410.3 MB, free: 14.64 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.991e-05/0.005737, allocations: 314.8 kB / 410.6 MB, free: 14.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.346e-05/0.005771, allocations: 15.94 kB / 410.6 MB, free: 14.31 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/0.005809, allocations: 43.36 kB / 410.7 MB, free: 14.26 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.115e-05/0.00588, allocations: 63.36 kB / 410.7 MB, free: 14.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.005882, allocations: 0 / 410.7 MB, free: 14.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001021/0.005984, allocations: 89.5 kB / 410.8 MB, free: 14.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.005998, allocations: 8 kB / 410.8 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.006005, allocations: 3.984 kB / 410.8 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.006016, allocations: 0 / 410.8 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.105e-05/0.006057, allocations: 16 kB / 410.9 MB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.006062, allocations: 0 / 410.9 MB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.193e-05/0.006084, allocations: 4 kB / 410.9 MB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.006091, allocations: 4.156 kB / 410.9 MB, free: 14.05 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 6.339e-05/0.006154, allocations: 121.7 kB / 411 MB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.006171, allocations: 12.05 kB / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.006195, allocations: 8 kB / 411 MB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.006198, allocations: 4 kB / 411 MB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.006203, allocations: 0 / 411 MB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.006206, allocations: 0 / 411 MB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.006322, allocations: 140.7 kB / 411.2 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006323, allocations: 0 / 411.2 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-05/0.006373, allocations: 11.98 kB / 411.2 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.006376, allocations: 4 kB / 411.2 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.006385, allocations: 0 / 411.2 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.006386, allocations: 4 kB / 411.2 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.006387, allocations: 3.984 kB / 411.2 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.006567, allocations: 179.4 kB / 411.4 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.006579, allocations: 7.953 kB / 411.4 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.006592, allocations: 4.031 kB / 411.4 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.18e-05/0.006623, allocations: 4 kB / 411.4 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.006654, allocations: 3.984 kB / 411.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.006656, allocations: 4 kB / 411.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.427e-05/0.006691, allocations: 87.28 kB / 411.5 MB, free: 13.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006691, allocations: 0 / 411.5 MB, free: 13.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001567/0.006847, allocations: 8.062 kB / 411.5 MB, free: 13.39 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.0006033/0.007451, allocations: 0.7046 MB / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.007581, allocations: 44.09 kB / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.007583, allocations: 3.938 kB / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.982e-05/0.007613, allocations: 24.02 kB / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.007842, allocations: 11.98 kB / 412.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000973/0.008815, allocations: 1.36 MB / 413.6 MB, free: 11.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.506e-05/0.00886, allocations: 67.34 kB / 413.7 MB, free: 11.03 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.934e-05/0.00889, allocations: 0 / 413.7 MB, free: 11.03 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.008931, allocations: 20.48 kB / 413.7 MB, free: 11.01 MB / 394.7 MB Notification: Performance of SimCode: time 4.21e-07/0.008932, allocations: 0 / 413.7 MB, free: 11.01 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.02717, allocations: 2.247 MB / 415.9 MB, free: 8.738 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.896/6.923, allocations: 11.38 kB / 416 MB, free: 8.73 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 & 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/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: 9.064408362843096]