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.001768/0.001768, allocations: 113.6 kB / 17.12 MB, free: 5.93 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.002146/0.002146, allocations: 213 kB / 20.09 MB, free: 2.977 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.495/1.495, allocations: 207.6 MB / 230.5 MB, free: 4.039 MB / 174.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.3392/0.3392, allocations: 44.23 MB / 326.6 MB, free: 6.82 MB / 254.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.00209/0.00209, allocations: 72.45 kB / 462.2 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2494, allocations: 60.99 MB / 0.5109 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002828/0.2523, allocations: 1.566 MB / 0.5125 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002214/0.2525, allocations: 63.2 kB / 0.5125 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.694e-05/0.2525, allocations: 2.5 kB / 0.5125 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.2527, allocations: 7.875 kB / 0.5125 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.724e-05/0.2527, allocations: 11.92 kB / 0.5125 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.2528, allocations: 23.41 kB / 0.5126 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.2529, allocations: 34.61 kB / 0.5126 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.2531, allocations: 7.859 kB / 0.5126 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.081e-05/0.2531, allocations: 12.91 kB / 0.5126 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.541e-05/0.2531, allocations: 18.08 kB / 0.5126 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.2532, allocations: 0 / 0.5126 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-06/0.2532, allocations: 3.719 kB / 0.5126 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.2532, allocations: 8.469 kB / 0.5126 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.2532, allocations: 19.7 kB / 0.5127 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.2533, allocations: 41.11 kB / 0.5127 GB, free: 11.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2533, allocations: 0 / 0.5127 GB, free: 11.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2533, allocations: 0 / 0.5127 GB, free: 11.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.2533, allocations: 3.938 kB / 0.5127 GB, free: 11.83 MB / 382.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.0003913/0.2537, allocations: 347.3 kB / 0.513 GB, free: 11.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2538, allocations: 13.42 kB / 0.5131 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.07e-05/0.2538, allocations: 37.12 kB / 0.5131 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.516e-05/0.2538, allocations: 8.672 kB / 0.5131 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.254, allocations: 185.6 kB / 0.5133 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.254, allocations: 5.438 kB / 0.5133 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.254, allocations: 2.844 kB / 0.5133 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.2542, allocations: 77.59 kB / 0.5134 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.2542, allocations: 4.969 kB / 0.5134 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.2542, allocations: 0 / 0.5134 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2542, allocations: 1.906 kB / 0.5134 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.2543, allocations: 25.55 kB / 0.5134 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.2548, allocations: 444.3 kB / 0.5138 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.255, allocations: 43 kB / 0.5138 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.051e-05/0.2551, allocations: 15.14 kB / 0.5139 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.2551, allocations: 0 / 0.5139 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.2551, allocations: 39.75 kB / 0.5139 GB, free: 10.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2551, allocations: 0 / 0.5139 GB, free: 10.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005212/0.2556, allocations: 103.5 kB / 0.514 GB, free: 10.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.2557, allocations: 61.12 kB / 0.5141 GB, free: 10.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.641e-05/0.2557, allocations: 121.1 kB / 0.5142 GB, free: 10.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.2557, allocations: 27.61 kB / 0.5142 GB, free: 10.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.2558, allocations: 93.92 kB / 0.5143 GB, free: 10.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.2558, allocations: 9.781 kB / 0.5143 GB, free: 10.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.2558, allocations: 19.72 kB / 0.5143 GB, free: 10.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.274e-05/0.2559, allocations: 322.8 kB / 0.5146 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.129e-05/0.2559, allocations: 13.44 kB / 0.5146 GB, free: 9.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.208e-05/0.256, allocations: 41.3 kB / 0.5147 GB, free: 9.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.2561, allocations: 59.39 kB / 0.5147 GB, free: 9.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2561, allocations: 1.094 kB / 0.5147 GB, free: 9.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001559/0.2563, allocations: 85.08 kB / 0.5148 GB, free: 9.648 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.2563, allocations: 5.75 kB / 0.5148 GB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2563, allocations: 1.656 kB / 0.5148 GB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.2563, allocations: 13.58 kB / 0.5148 GB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.417e-05/0.2564, allocations: 12.38 kB / 0.5148 GB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.2564, allocations: 2.25 kB / 0.5149 GB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.951e-05/0.2564, allocations: 6.375 kB / 0.5149 GB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.2564, allocations: 2.469 kB / 0.5149 GB, free: 9.629 MB / 382.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 6.356e-05/0.2565, allocations: 125.4 kB / 0.515 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.2565, allocations: 5.797 kB / 0.515 GB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.2565, allocations: 5.5 kB / 0.515 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2565, allocations: 1.5 kB / 0.515 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.2565, allocations: 3.938 kB / 0.515 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2565, allocations: 0 / 0.515 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.2567, allocations: 174.6 kB / 0.5152 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2567, allocations: 0 / 0.5152 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.433e-05/0.2568, allocations: 12.86 kB / 0.5152 GB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2568, allocations: 5.281 kB / 0.5152 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.2568, allocations: 4 kB / 0.5152 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2568, allocations: 5.094 kB / 0.5152 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2568, allocations: 0 / 0.5152 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.257, allocations: 170.3 kB / 0.5153 GB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.257, allocations: 86.33 kB / 0.5154 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.257, allocations: 1.344 kB / 0.5154 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.126e-05/0.2571, allocations: 5.406 kB / 0.5154 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.2571, allocations: 5.312 kB / 0.5154 GB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.2571, allocations: 1.25 kB / 0.5154 GB, free: 8.992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.497e-05/0.2572, allocations: 96.61 kB / 0.5155 GB, free: 8.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2572, allocations: 0 / 0.5155 GB, free: 8.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.2574, allocations: 9.469 kB / 0.5155 GB, free: 8.902 MB / 382.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.0003701/0.2577, allocations: 0.7115 MB / 0.5162 GB, free: 8.207 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.2579, allocations: 36.27 kB / 0.5163 GB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2579, allocations: 0 / 0.5163 GB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.836e-05/0.258, allocations: 18.39 kB / 0.5163 GB, free: 8.188 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.2582, allocations: 16.83 kB / 0.5163 GB, free: 8.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.2594, allocations: 1.369 MB / 0.5176 GB, free: 6.848 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.2595, allocations: 0.6823 MB / 0.5183 GB, free: 6.148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.044e-05/0.2595, allocations: 10.73 kB / 0.5183 GB, free: 6.141 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.2595, allocations: 14.19 kB / 0.5183 GB, free: 6.129 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.2595, allocations: 0 / 0.5183 GB, free: 6.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.2831, allocations: 1.59 MB / 0.5199 GB, free: 5.168 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.186/8.469, allocations: 9.156 kB / 0.5199 GB, free: 5.164 MB / 382.1 MB " [Timeout remaining time 651] (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: 11.38641098899825]