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.001525/0.001525, allocations: 186.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.158/2.158, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001152/0.001152, allocations: 81.62 kB / 270.9 MB, free: 8.383 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.5336/0.5336, allocations: 43.55 MB / 362.7 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004863, allocations: 16 kB / 431.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.14, allocations: 58.84 MB / 490.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4693/0.6093, allocations: 85.06 MB / 0.5619 GB, free: 1.332 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.6097, allocations: 63.97 kB / 0.5619 GB, free: 1.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003462/0.6131, allocations: 1.033 MB / 0.563 GB, free: 252 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6132, allocations: 0 / 0.563 GB, free: 252 kB / 378.7 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.6132, allocations: 0 / 0.563 GB, free: 252 kB / 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.0004532/0.6137, allocations: 351 kB / 0.5633 GB, free: 15.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.6137, allocations: 8.031 kB / 0.5633 GB, free: 15.85 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.364e-05/0.6138, allocations: 34.56 kB / 0.5633 GB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.6138, allocations: 7.438 kB / 0.5633 GB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.6141, allocations: 182.9 kB / 0.5635 GB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.6141, allocations: 4 kB / 0.5635 GB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.6141, allocations: 11.94 kB / 0.5635 GB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.6143, allocations: 70.84 kB / 0.5636 GB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.6144, allocations: 0 / 0.5636 GB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.6144, allocations: 4.875 kB / 0.5636 GB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.6144, allocations: 3.984 kB / 0.5636 GB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.6146, allocations: 36.67 kB / 0.5636 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.6152, allocations: 437.3 kB / 0.5641 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.6154, allocations: 46.5 kB / 0.5641 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.6154, allocations: 0 / 0.5641 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.6155, allocations: 42.64 kB / 0.5641 GB, free: 14.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.6155, allocations: 0.5625 kB / 0.5641 GB, free: 14.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0006481/0.6162, allocations: 113.4 kB / 0.5642 GB, free: 14.74 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.6162, allocations: 55.36 kB / 0.5643 GB, free: 14.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.6163, allocations: 108.6 kB / 0.5644 GB, free: 14.56 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.6164, allocations: 25.7 kB / 0.5644 GB, free: 14.53 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.573e-05/0.6165, allocations: 158.5 kB / 0.5646 GB, free: 14.38 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.6165, allocations: 23.73 kB / 0.5646 GB, free: 14.35 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.6165, allocations: 0 / 0.5646 GB, free: 14.35 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6167, allocations: 314.8 kB / 0.5649 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.599e-05/0.6168, allocations: 19.98 kB / 0.5649 GB, free: 14.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.6169, allocations: 39.42 kB / 0.565 GB, free: 13.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.617, allocations: 27.94 kB / 0.565 GB, free: 13.94 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.617, allocations: 0 / 0.565 GB, free: 13.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002512/0.6173, allocations: 81.61 kB / 0.5651 GB, free: 13.85 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.6173, allocations: 4 kB / 0.5651 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.6173, allocations: 0 / 0.5651 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.6174, allocations: 4 kB / 0.5651 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.6175, allocations: 14.48 kB / 0.5651 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.6175, allocations: 8.094 kB / 0.5651 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.6176, allocations: 7.953 kB / 0.5651 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.6176, allocations: 4 kB / 0.5651 GB, free: 13.81 MB / 394.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 0.0001165/0.6178, allocations: 121.8 kB / 0.5652 GB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.6178, allocations: 3.906 kB / 0.5652 GB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/0.6178, allocations: 11.89 kB / 0.5652 GB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.6179, allocations: 0 / 0.5652 GB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6179, allocations: 0 / 0.5652 GB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6179, allocations: 0 / 0.5652 GB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.6181, allocations: 177.6 kB / 0.5654 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.6181, allocations: 7.062 kB / 0.5654 GB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.6183, allocations: 12 kB / 0.5654 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.6183, allocations: 0 / 0.5654 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.6183, allocations: 0 / 0.5654 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.423e-06/0.6183, allocations: 3.984 kB / 0.5654 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.6183, allocations: 4.75 kB / 0.5654 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.6187, allocations: 187.7 kB / 0.5656 GB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.6188, allocations: 77.16 kB / 0.5657 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.6188, allocations: 7.109 kB / 0.5657 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.503e-05/0.6189, allocations: 7.984 kB / 0.5657 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.619, allocations: 4 kB / 0.5657 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.619, allocations: 4 kB / 0.5657 GB, free: 13.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.973e-05/0.6191, allocations: 91.64 kB / 0.5658 GB, free: 13.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6191, allocations: 4 kB / 0.5658 GB, free: 13.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002996/0.6194, allocations: 8 kB / 0.5658 GB, free: 13.01 MB / 394.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.0006902/0.6201, allocations: 0.7201 MB / 0.5665 GB, free: 12.26 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.6203, allocations: 35.98 kB / 0.5665 GB, free: 12.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.6204, allocations: 0 / 0.5665 GB, free: 12.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.498e-05/0.6205, allocations: 23.92 kB / 0.5666 GB, free: 12.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.6208, allocations: 8 kB / 0.5666 GB, free: 12.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.6223, allocations: 0.9794 MB / 0.5675 GB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.6226, allocations: 0.6889 MB / 0.5682 GB, free: 10.44 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.349e-05/0.6227, allocations: 15.5 kB / 0.5682 GB, free: 10.43 MB / 394.7 MB Notification: Performance of SimCode: time 1.624e-06/0.6227, allocations: 3.938 kB / 0.5682 GB, free: 10.43 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.522/3.145, allocations: 1.076 MB / 0.5693 GB, free: 9.363 MB / 394.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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState_res.mat does not exist to compare? outputFormat=mat