Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0007821/0.0007821, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.117/1.117, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007582/0.0007582, allocations: 95.8 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2697/0.2697, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003294, allocations: 15.98 kB / 432.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08343/0.08378, allocations: 58.85 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001387/0.0852, allocations: 1.26 MB / 492.2 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001717/0.08539, allocations: 53 kB / 492.2 MB, free: 9.473 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.099e-05/0.08546, allocations: 7.938 kB / 492.2 MB, free: 9.465 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.224e-05/0.08555, allocations: 7.922 kB / 492.2 MB, free: 9.457 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.371e-05/0.08558, allocations: 0 / 492.2 MB, free: 9.457 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.7e-05/0.08568, allocations: 15.98 kB / 492.3 MB, free: 9.441 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.063e-05/0.08577, allocations: 35.86 kB / 492.3 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.434e-05/0.08585, allocations: 15.98 kB / 492.3 MB, free: 9.391 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.248e-05/0.08588, allocations: 7.938 kB / 492.3 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.041e-05/0.08593, allocations: 11.92 kB / 492.3 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.08595, allocations: 4 kB / 492.3 MB, free: 9.367 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-06/0.08596, allocations: 0 / 492.3 MB, free: 9.367 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.08598, allocations: 3.984 kB / 492.3 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.08601, allocations: 45.56 kB / 492.4 MB, free: 9.312 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 5.231e-05/0.08607, allocations: 20.05 kB / 492.4 MB, free: 9.293 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.08608, allocations: 4 kB / 492.4 MB, free: 9.289 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.08609, allocations: 0 / 492.4 MB, free: 9.289 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.976e-06/0.0861, allocations: 0 / 492.4 MB, free: 9.289 MB / 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.0003228/0.08642, allocations: 347.4 kB / 492.7 MB, free: 8.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.08646, allocations: 8.031 kB / 492.7 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.802e-05/0.0865, allocations: 34.75 kB / 492.8 MB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.944e-05/0.08652, allocations: 4.938 kB / 492.8 MB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.08666, allocations: 188.1 kB / 493 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.08668, allocations: 16.38 kB / 493 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.0867, allocations: 4.359 kB / 493 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.08685, allocations: 68.83 kB / 493.1 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.08686, allocations: 3.938 kB / 493.1 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.892e-06/0.08688, allocations: 0 / 493.1 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.08689, allocations: 4 kB / 493.1 MB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.534e-05/0.08698, allocations: 31.92 kB / 493.1 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.08739, allocations: 453.1 kB / 493.5 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.08754, allocations: 50.5 kB / 493.6 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.599e-05/0.08759, allocations: 12.86 kB / 493.6 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.08761, allocations: 0 / 493.6 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.08763, allocations: 34.56 kB / 493.6 MB, free: 7.863 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.08764, allocations: 0 / 493.6 MB, free: 7.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003963/0.08804, allocations: 117.6 kB / 493.7 MB, free: 7.742 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.08808, allocations: 51.41 kB / 493.8 MB, free: 7.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.439e-05/0.08816, allocations: 121.7 kB / 493.9 MB, free: 7.551 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.08817, allocations: 25.7 kB / 493.9 MB, free: 7.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.08822, allocations: 96.06 kB / 494 MB, free: 7.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.143e-05/0.08824, allocations: 11.81 kB / 494 MB, free: 7.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.08825, allocations: 4 kB / 494.1 MB, free: 7.406 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.886e-05/0.08834, allocations: 318.8 kB / 494.4 MB, free: 7.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.763e-05/0.08839, allocations: 15.98 kB / 494.4 MB, free: 7.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.378e-05/0.08845, allocations: 43.42 kB / 494.4 MB, free: 7.016 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.08857, allocations: 63.36 kB / 494.5 MB, free: 6.941 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.08858, allocations: 4 kB / 494.5 MB, free: 6.938 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001562/0.08874, allocations: 89.48 kB / 494.6 MB, free: 6.844 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.08876, allocations: 11.44 kB / 494.6 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.08877, allocations: 0 / 494.6 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.08879, allocations: 0 / 494.6 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.892e-05/0.08885, allocations: 15.98 kB / 494.6 MB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.08886, allocations: 0 / 494.6 MB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.66e-05/0.0889, allocations: 8.375 kB / 494.6 MB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.08891, allocations: 4 kB / 494.6 MB, free: 6.809 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.717e-05/0.08899, allocations: 126.2 kB / 494.7 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.08901, allocations: 3.906 kB / 494.7 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.08904, allocations: 19.81 kB / 494.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.08904, allocations: 0 / 494.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.08905, allocations: 0 / 494.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.08906, allocations: 0 / 494.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.0892, allocations: 173.6 kB / 494.9 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.08921, allocations: 0 / 494.9 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.054e-05/0.08929, allocations: 16 kB / 494.9 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.0893, allocations: 3.984 kB / 494.9 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.08931, allocations: 4 kB / 495 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.08932, allocations: 0 / 495 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.08932, allocations: 0 / 495 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.08953, allocations: 175.5 kB / 495.1 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.08958, allocations: 85.05 kB / 495.2 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.0896, allocations: 8 kB / 495.2 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.96e-05/0.08967, allocations: 7.984 kB / 495.2 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.0897, allocations: 7.938 kB / 495.2 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.0897, allocations: 4 kB / 495.2 MB, free: 6.094 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.84e-05/0.08975, allocations: 91.27 kB / 495.3 MB, free: 6.004 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08975, allocations: 0 / 495.3 MB, free: 6.004 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002014/0.08996, allocations: 11.94 kB / 495.3 MB, free: 5.992 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003938/0.09036, allocations: 0.7086 MB / 496 MB, free: 5.258 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.09049, allocations: 44.11 kB / 496.1 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.0905, allocations: 4.062 kB / 496.1 MB, free: 5.211 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.157e-05/0.09055, allocations: 19.92 kB / 496.1 MB, free: 5.191 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.09081, allocations: 11.8 kB / 496.1 MB, free: 5.184 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007398/0.09156, allocations: 0.5261 MB / 496.6 MB, free: 4.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.09177, allocations: 0.6809 MB / 497.3 MB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.09182, allocations: 31.42 kB / 497.4 MB, free: 3.852 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.09182, allocations: 288 / 497.4 MB, free: 3.852 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.353/2.445, allocations: 1.016 MB / 498.4 MB, free: 2.836 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches