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.001347/0.001347, allocations: 118.9 kB / 17.83 MB, free: 5.242 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.001413/0.001413, allocations: 203 kB / 20.79 MB, free: 2.297 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.47/1.47, allocations: 207.6 MB / 231.2 MB, free: 4.125 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.3767/0.3767, allocations: 44.22 MB / 327.3 MB, free: 6.668 MB / 254.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState",fmuType="cs",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.002182/0.002182, allocations: 71.89 kB / 462.9 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.252, allocations: 61.01 MB / 0.5116 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002319/0.2543, allocations: 1.555 MB / 0.5131 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001943/0.2545, allocations: 62.45 kB / 0.5132 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.344e-05/0.2545, allocations: 1.031 kB / 0.5132 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.555e-05/0.2546, allocations: 5.156 kB / 0.5132 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.259e-05/0.2547, allocations: 8.984 kB / 0.5132 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000105/0.2548, allocations: 25.62 kB / 0.5132 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.643e-05/0.2548, allocations: 34.23 kB / 0.5133 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.456e-05/0.2549, allocations: 7.203 kB / 0.5133 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.487e-05/0.255, allocations: 22.53 kB / 0.5133 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.366e-05/0.255, allocations: 14.61 kB / 0.5133 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.255, allocations: 2.656 kB / 0.5133 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-06/0.255, allocations: 6.594 kB / 0.5133 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.255, allocations: 4 kB / 0.5133 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.2551, allocations: 15.78 kB / 0.5134 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.916e-05/0.2551, allocations: 42.59 kB / 0.5134 GB, free: 11.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2552, allocations: 0 / 0.5134 GB, free: 11.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2552, allocations: 0 / 0.5134 GB, free: 11.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.2552, allocations: 0 / 0.5134 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.0003288/0.2555, allocations: 355.7 kB / 0.5137 GB, free: 11.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.2555, allocations: 13.86 kB / 0.5137 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.502e-05/0.2555, allocations: 192 / 0.5137 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.629e-05/0.2556, allocations: 34.75 kB / 0.5138 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.308e-05/0.2556, allocations: 8.359 kB / 0.5138 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.2557, allocations: 182.1 kB / 0.514 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.2557, allocations: 15.52 kB / 0.514 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.2558, allocations: 3.375 kB / 0.514 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.2559, allocations: 79.31 kB / 0.5141 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2559, allocations: 0.9375 kB / 0.5141 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.2559, allocations: 0 / 0.5141 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2559, allocations: 1.062 kB / 0.5141 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.262e-05/0.256, allocations: 22.58 kB / 0.5141 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.2563, allocations: 447.7 kB / 0.5145 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.2565, allocations: 42.81 kB / 0.5145 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.411e-05/0.2565, allocations: 11.33 kB / 0.5146 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.2565, allocations: 0 / 0.5146 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.14e-05/0.2565, allocations: 39.84 kB / 0.5146 GB, free: 10.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.2565, allocations: 0 / 0.5146 GB, free: 10.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004236/0.257, allocations: 107.2 kB / 0.5147 GB, free: 10.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.691e-05/0.257, allocations: 52.84 kB / 0.5147 GB, free: 10.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.921e-05/0.257, allocations: 123.2 kB / 0.5149 GB, free: 10.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.257, allocations: 26.08 kB / 0.5149 GB, free: 10.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.2571, allocations: 97.98 kB / 0.515 GB, free: 10.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.056e-05/0.2571, allocations: 9.781 kB / 0.515 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.2571, allocations: 19.5 kB / 0.515 GB, free: 10.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.782e-05/0.2571, allocations: 328.7 kB / 0.5153 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.2572, allocations: 11.5 kB / 0.5153 GB, free: 9.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.528e-05/0.2572, allocations: 39.08 kB / 0.5154 GB, free: 9.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.954e-05/0.2573, allocations: 63 kB / 0.5154 GB, free: 9.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2573, allocations: 0 / 0.5154 GB, free: 9.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001352/0.2575, allocations: 80.55 kB / 0.5155 GB, free: 9.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2575, allocations: 9.859 kB / 0.5155 GB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2575, allocations: 5.688 kB / 0.5155 GB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2575, allocations: 2 kB / 0.5155 GB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.018e-05/0.2576, allocations: 13.97 kB / 0.5155 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.2576, allocations: 0.9062 kB / 0.5155 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.978e-05/0.2576, allocations: 6.406 kB / 0.5155 GB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.2576, allocations: 14.27 kB / 0.5156 GB, free: 9.609 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.742e-05/0.2577, allocations: 108.6 kB / 0.5157 GB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.2577, allocations: 14.72 kB / 0.5157 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.01e-05/0.2577, allocations: 13.19 kB / 0.5157 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.2577, allocations: 1.719 kB / 0.5157 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.2577, allocations: 0 / 0.5157 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2577, allocations: 0 / 0.5157 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.2578, allocations: 174.5 kB / 0.5159 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2578, allocations: 1.406 kB / 0.5159 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.157e-05/0.2579, allocations: 11.64 kB / 0.5159 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2579, allocations: 1.062 kB / 0.5159 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.2579, allocations: 4 kB / 0.5159 GB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2579, allocations: 1.219 kB / 0.5159 GB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2579, allocations: 0 / 0.5159 GB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.2581, allocations: 182.2 kB / 0.516 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.784e-05/0.2581, allocations: 82.41 kB / 0.5161 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.2581, allocations: 1.344 kB / 0.5161 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.939e-05/0.2582, allocations: 1.312 kB / 0.5161 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.2582, allocations: 2.688 kB / 0.5161 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.2582, allocations: 4 kB / 0.5161 GB, free: 8.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.912e-05/0.2583, allocations: 99.95 kB / 0.5162 GB, free: 8.891 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2583, allocations: 288 / 0.5162 GB, free: 8.891 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.2585, allocations: 5.5 kB / 0.5162 GB, free: 8.891 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.0003055/0.2588, allocations: 0.7131 MB / 0.5169 GB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.2589, allocations: 41.88 kB / 0.517 GB, free: 8.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2589, allocations: 0 / 0.517 GB, free: 8.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.299e-05/0.259, allocations: 14.94 kB / 0.517 GB, free: 8.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.2592, allocations: 15.86 kB / 0.517 GB, free: 8.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.2602, allocations: 1.376 MB / 0.5183 GB, free: 6.832 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.486e-05/0.2603, allocations: 0.6861 MB / 0.519 GB, free: 6.129 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.992e-05/0.2604, allocations: 2.75 kB / 0.519 GB, free: 6.129 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.2604, allocations: 14.19 kB / 0.519 GB, free: 6.117 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2604, allocations: 4 kB / 0.519 GB, free: 6.113 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.2775, allocations: 1.623 MB / 0.5206 GB, free: 5.125 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.671/8.949, allocations: 3.406 kB / 0.5206 GB, free: 5.125 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/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: 12.364804562996142]