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.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.00182/0.00182, allocations: 118.1 kB / 17.13 MB, free: 5.777 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.002139/0.002139, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.519/1.519, allocations: 207.6 MB / 230.5 MB, free: 4.012 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.3395/0.3395, allocations: 44.23 MB / 326.5 MB, free: 6.828 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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002537/0.002537, allocations: 72.41 kB / 462.2 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2623, allocations: 61 MB / 0.5109 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002437/0.2647, allocations: 1.563 MB / 0.5124 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002149/0.2649, allocations: 65.36 kB / 0.5125 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.059e-05/0.265, allocations: 0 / 0.5125 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.2651, allocations: 7.938 kB / 0.5125 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.559e-05/0.2651, allocations: 3.938 kB / 0.5125 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.2652, allocations: 17.52 kB / 0.5125 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.2653, allocations: 42.11 kB / 0.5126 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.187e-05/0.2654, allocations: 6.688 kB / 0.5126 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.164e-05/0.2655, allocations: 18.27 kB / 0.5126 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.767e-05/0.2655, allocations: 11.75 kB / 0.5126 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.2655, allocations: 1.156 kB / 0.5126 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.2655, allocations: 3.344 kB / 0.5126 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.2656, allocations: 13.17 kB / 0.5126 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.2656, allocations: 19.41 kB / 0.5126 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.543e-05/0.2657, allocations: 33.09 kB / 0.5127 GB, free: 11.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2657, allocations: 0 / 0.5127 GB, free: 11.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2657, allocations: 0 / 0.5127 GB, free: 11.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.2657, allocations: 1 kB / 0.5127 GB, free: 11.79 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.0003644/0.266, allocations: 350.8 kB / 0.513 GB, free: 11.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2661, allocations: 13.17 kB / 0.513 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.582e-05/0.2661, allocations: 35.62 kB / 0.513 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.2661, allocations: 12.59 kB / 0.513 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.2663, allocations: 186 kB / 0.5132 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.2663, allocations: 5.531 kB / 0.5132 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.2663, allocations: 7.812 kB / 0.5132 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.2665, allocations: 73.48 kB / 0.5133 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2665, allocations: 3.938 kB / 0.5133 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.2665, allocations: 1.469 kB / 0.5133 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2665, allocations: 9.562 kB / 0.5133 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.063e-05/0.2666, allocations: 24.7 kB / 0.5133 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.267, allocations: 440.8 kB / 0.5138 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.2671, allocations: 42.62 kB / 0.5138 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.382e-05/0.2671, allocations: 18.69 kB / 0.5138 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.2672, allocations: 1.125 kB / 0.5138 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.143e-05/0.2672, allocations: 31.78 kB / 0.5139 GB, free: 10.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2672, allocations: 0 / 0.5139 GB, free: 10.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004143/0.2676, allocations: 111.4 kB / 0.514 GB, free: 10.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.2676, allocations: 57.19 kB / 0.514 GB, free: 10.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.903e-05/0.2677, allocations: 116.7 kB / 0.5141 GB, free: 10.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.683e-06/0.2677, allocations: 27.83 kB / 0.5142 GB, free: 10.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.2677, allocations: 90.38 kB / 0.5142 GB, free: 10.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.202e-05/0.2677, allocations: 13.84 kB / 0.5143 GB, free: 10.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.2677, allocations: 22.64 kB / 0.5143 GB, free: 10.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.677e-05/0.2678, allocations: 320.2 kB / 0.5146 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.405e-05/0.2678, allocations: 16.33 kB / 0.5146 GB, free: 9.746 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.571e-05/0.2679, allocations: 45.86 kB / 0.5146 GB, free: 9.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.3e-05/0.2679, allocations: 56.42 kB / 0.5147 GB, free: 9.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.2679, allocations: 4 kB / 0.5147 GB, free: 9.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001267/0.2681, allocations: 84.69 kB / 0.5148 GB, free: 9.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2681, allocations: 8 kB / 0.5148 GB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2681, allocations: 0 / 0.5148 GB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2681, allocations: 0 / 0.5148 GB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.703e-05/0.2682, allocations: 13.55 kB / 0.5148 GB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.2682, allocations: 2.688 kB / 0.5148 GB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.683e-05/0.2682, allocations: 6.75 kB / 0.5148 GB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.2682, allocations: 7.969 kB / 0.5148 GB, free: 9.578 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 4.617e-05/0.2683, allocations: 121.2 kB / 0.5149 GB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.2683, allocations: 3.953 kB / 0.5149 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.125e-05/0.2683, allocations: 9.469 kB / 0.5149 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2683, allocations: 7.922 kB / 0.515 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2683, allocations: 1.375 kB / 0.515 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2683, allocations: 0 / 0.515 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.2684, allocations: 170.7 kB / 0.5151 GB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2684, allocations: 3.938 kB / 0.5151 GB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.074e-05/0.2685, allocations: 12.88 kB / 0.5151 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2685, allocations: 0 / 0.5151 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.2685, allocations: 1.531 kB / 0.5151 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-06/0.2685, allocations: 0 / 0.5151 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2685, allocations: 0 / 0.5151 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.2687, allocations: 182.9 kB / 0.5153 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/0.2687, allocations: 82.34 kB / 0.5154 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.2687, allocations: 1.344 kB / 0.5154 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.982e-05/0.2688, allocations: 5.344 kB / 0.5154 GB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.2688, allocations: 6.453 kB / 0.5154 GB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.2688, allocations: 0 / 0.5154 GB, free: 8.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.132e-05/0.2689, allocations: 91.48 kB / 0.5155 GB, free: 8.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2689, allocations: 0 / 0.5155 GB, free: 8.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.2691, allocations: 14.47 kB / 0.5155 GB, free: 8.852 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.000317/0.2694, allocations: 0.7048 MB / 0.5162 GB, free: 8.164 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.2695, allocations: 38.25 kB / 0.5162 GB, free: 8.148 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2695, allocations: 0 / 0.5162 GB, free: 8.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.455e-05/0.2696, allocations: 22.36 kB / 0.5162 GB, free: 8.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.2699, allocations: 12.75 kB / 0.5163 GB, free: 8.129 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.2709, allocations: 1.382 MB / 0.5176 GB, free: 6.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.325e-05/0.271, allocations: 0.6871 MB / 0.5183 GB, free: 6.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.184e-05/0.271, allocations: 2.531 kB / 0.5183 GB, free: 6.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.271, allocations: 22.33 kB / 0.5183 GB, free: 6.07 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.271, allocations: 0 / 0.5183 GB, free: 6.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.2944, allocations: 1.577 MB / 0.5198 GB, free: 5.121 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.281/8.575, allocations: 10.5 kB / 0.5199 GB, free: 5.113 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 & /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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.419675247278064]