Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006707/0.0006708, allocations: 95.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007288/0.0007288, allocations: 173.8 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 223.3 MB / 242.3 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1782/0.1782, allocations: 44.24 MB / 337.7 MB, free: 2.516 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002667/0.0002668, allocations: 12.62 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09381/0.09409, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001455/0.09559, allocations: 1.273 MB / 473.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000186/0.09579, allocations: 51.88 kB / 473.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-05/0.09585, allocations: 3.938 kB / 473.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.742e-05/0.09593, allocations: 3.984 kB / 473.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.062e-05/0.09597, allocations: 11.92 kB / 473.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.701e-05/0.09607, allocations: 15.98 kB / 473.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.037e-05/0.09616, allocations: 31.92 kB / 473.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.738e-05/0.09624, allocations: 4 kB / 473.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.333e-05/0.09627, allocations: 19.88 kB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.98e-05/0.09632, allocations: 15.86 kB / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.09634, allocations: 4 kB / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.09636, allocations: 0 / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.09638, allocations: 4 kB / 473.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.09642, allocations: 41.56 kB / 473.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.493e-05/0.09649, allocations: 32.11 kB / 473.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.0965, allocations: 0 / 473.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.0965, allocations: 0 / 473.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.09651, allocations: 0 / 473.9 MB, free: 11.71 MB / 350.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.0003421/0.09686, allocations: 347.5 kB / 474.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.0969, allocations: 8.031 kB / 474.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.236e-05/0.09694, allocations: 38.75 kB / 474.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.122e-05/0.09696, allocations: 8.844 kB / 474.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.09711, allocations: 180.3 kB / 474.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-06/0.09712, allocations: 384 / 474.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.09715, allocations: 8.375 kB / 474.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.09729, allocations: 72.77 kB / 474.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.09731, allocations: 7.938 kB / 474.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.09732, allocations: 0 / 474.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.09733, allocations: 0 / 474.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.832e-05/0.09742, allocations: 31.91 kB / 474.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.09786, allocations: 453.1 kB / 475 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.098, allocations: 50.44 kB / 475 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5e-05/0.09806, allocations: 20.86 kB / 475.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.09807, allocations: 0 / 475.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.0981, allocations: 34.64 kB / 475.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.0981, allocations: 0 / 475.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004517/0.09856, allocations: 117.4 kB / 475.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.0986, allocations: 55.41 kB / 475.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.088e-05/0.09869, allocations: 113.8 kB / 475.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.09871, allocations: 29.7 kB / 475.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.67e-05/0.09876, allocations: 95.97 kB / 475.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.09879, allocations: 11.81 kB / 475.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.09882, allocations: 17.72 kB / 475.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.429e-05/0.09891, allocations: 318.8 kB / 475.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.858e-05/0.09897, allocations: 19.98 kB / 475.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.301e-05/0.09903, allocations: 39.44 kB / 475.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.09914, allocations: 75.66 kB / 476 MB, free: 9.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.09915, allocations: 0 / 476 MB, free: 9.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001519/0.09931, allocations: 85.55 kB / 476.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.09933, allocations: 4 kB / 476.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.09934, allocations: 0 / 476.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.09935, allocations: 4.094 kB / 476.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.466e-05/0.09941, allocations: 16 kB / 476.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.09943, allocations: 4 kB / 476.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.623e-05/0.09947, allocations: 3.984 kB / 476.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.09948, allocations: 4 kB / 476.1 MB, free: 9.211 MB / 350.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 7.952e-05/0.09956, allocations: 117.8 kB / 476.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.09961, allocations: 3.906 kB / 476.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.186e-05/0.09965, allocations: 11.91 kB / 476.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.09965, allocations: 0 / 476.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.09966, allocations: 7.938 kB / 476.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.09968, allocations: 0 / 476.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.09983, allocations: 169.6 kB / 476.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.09985, allocations: 4 kB / 476.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.838e-05/0.09992, allocations: 11.98 kB / 476.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.09993, allocations: 0 / 476.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-06/0.09994, allocations: 3.938 kB / 476.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.09995, allocations: 0 / 476.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.09995, allocations: 0 / 476.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.1002, allocations: 191.4 kB / 476.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.924e-05/0.1003, allocations: 77.11 kB / 476.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.1003, allocations: 8 kB / 476.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.737e-05/0.1004, allocations: 4.031 kB / 476.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.1004, allocations: 384 / 476.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.1004, allocations: 12.05 kB / 476.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.214e-05/0.1004, allocations: 95.16 kB / 476.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1004, allocations: 0 / 476.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002076/0.1007, allocations: 7.938 kB / 476.8 MB, free: 8.406 MB / 350.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.0004415/0.1011, allocations: 0.709 MB / 477.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.1012, allocations: 47.91 kB / 477.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1013, allocations: 0 / 477.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.334e-05/0.1013, allocations: 12 kB / 477.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.1016, allocations: 12.23 kB / 477.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.1028, allocations: 1.412 MB / 479 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.103, allocations: 0.6872 MB / 479.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.733e-05/0.103, allocations: 7.984 kB / 479.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.1031, allocations: 15.38 kB / 479.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1031, allocations: 4 kB / 479.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01023/0.1133, allocations: 1.335 MB / 481 MB, free: 4.129 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/0.1135, allocations: 190.8 kB / 481.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/1.695, allocations: 7.938 kB / 481.2 MB, free: 3.867 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches