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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001527, allocations: 179.9 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 221.3 MB / 236 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009228/0.0009229, allocations: 91.62 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2277/0.2277, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.063e-05/4.115e-05, allocations: 8.219 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1492, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4865/0.6358, allocations: 86.08 MB / 0.5859 GB, free: 3.203 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000189/0.636, allocations: 59.97 kB / 0.5859 GB, free: 3.145 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002788/0.6388, allocations: 1.045 MB / 0.5869 GB, free: 2.109 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.6388, allocations: 0 / 0.5869 GB, free: 2.109 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.6389, allocations: 0 / 0.5869 GB, free: 2.109 MB / 394.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.0003809/0.6392, allocations: 338.5 kB / 0.5873 GB, free: 1.734 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.6393, allocations: 8.031 kB / 0.5873 GB, free: 1.727 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.668e-05/0.6394, allocations: 34.56 kB / 0.5873 GB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.6394, allocations: 27.75 kB / 0.5873 GB, free: 1.656 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.6396, allocations: 171.1 kB / 0.5875 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.6396, allocations: 0 / 0.5875 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.6396, allocations: 11.95 kB / 0.5875 GB, free: 1.438 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.6398, allocations: 60.27 kB / 0.5876 GB, free: 1.363 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.6398, allocations: 0 / 0.5876 GB, free: 1.363 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.6398, allocations: 4 kB / 0.5876 GB, free: 1.359 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.6398, allocations: 0 / 0.5876 GB, free: 1.359 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.789e-05/0.6399, allocations: 19.94 kB / 0.5876 GB, free: 1.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005478/0.6404, allocations: 453 kB / 0.588 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.6406, allocations: 30.58 kB / 0.588 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.645e-05/0.6406, allocations: 16.86 kB / 0.5881 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.6407, allocations: 0 / 0.5881 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.6407, allocations: 34.56 kB / 0.5881 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.365e-06/0.6407, allocations: 0 / 0.5881 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003777/0.6411, allocations: 88.47 kB / 0.5882 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.6411, allocations: 51.41 kB / 0.5882 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.255e-05/0.6412, allocations: 105.2 kB / 0.5883 GB, free: 484 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.6413, allocations: 29.7 kB / 0.5883 GB, free: 448 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.6413, allocations: 92.05 kB / 0.5884 GB, free: 352 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.6413, allocations: 19.73 kB / 0.5885 GB, free: 332 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.6414, allocations: 0 / 0.5885 GB, free: 332 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6415, allocations: 318.8 kB / 0.5888 GB, free: 4 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.361e-05/0.6415, allocations: 8.047 kB / 0.5888 GB, free: 15.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.233e-05/0.6416, allocations: 43.31 kB / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.053e-05/0.6416, allocations: 12 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.6416, allocations: 4 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001088/0.6418, allocations: 69.62 kB / 0.5889 GB, free: 15.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.6418, allocations: 9.25 kB / 0.5889 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.6418, allocations: 2.875 kB / 0.5889 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.6418, allocations: 384 / 0.5889 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.153e-05/0.6419, allocations: 24.02 kB / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.6419, allocations: 0 / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.958e-05/0.642, allocations: 4 kB / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.642, allocations: 7.938 kB / 0.5889 GB, free: 15.81 MB / 410.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 () * 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 8.467e-05/0.6421, allocations: 108.9 kB / 0.589 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.6421, allocations: 7.906 kB / 0.589 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.6421, allocations: 8.25 kB / 0.5891 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.6421, allocations: 3.984 kB / 0.5891 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.6422, allocations: 4 kB / 0.5891 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.6422, allocations: 4 kB / 0.5891 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.6424, allocations: 173.4 kB / 0.5892 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.6424, allocations: 0 / 0.5892 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.796e-05/0.6425, allocations: 12 kB / 0.5892 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.6425, allocations: 3.984 kB / 0.5892 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.6425, allocations: 4 kB / 0.5893 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6425, allocations: 0 / 0.5893 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6425, allocations: 3.938 kB / 0.5893 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.6427, allocations: 159.5 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.6427, allocations: 84.97 kB / 0.5895 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.6428, allocations: 0 / 0.5895 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.324e-05/0.6428, allocations: 4.031 kB / 0.5895 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.6429, allocations: 8.859 kB / 0.5895 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.6429, allocations: 0 / 0.5895 GB, free: 15.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.62e-05/0.643, allocations: 87.28 kB / 0.5896 GB, free: 15.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.643, allocations: 0 / 0.5896 GB, free: 15.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002085/0.6432, allocations: 16.06 kB / 0.5896 GB, free: 15.04 MB / 410.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 () * 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.0004717/0.6437, allocations: 0.6967 MB / 0.5903 GB, free: 14.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.986e-05/0.6438, allocations: 31.94 kB / 0.5903 GB, free: 14.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6438, allocations: 0 / 0.5903 GB, free: 14.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.586e-05/0.6438, allocations: 12.25 kB / 0.5903 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.644, allocations: 13.95 kB / 0.5903 GB, free: 14.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.6445, allocations: 137.2 kB / 0.5905 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.6449, allocations: 0.689 MB / 0.5911 GB, free: 13.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.015e-05/0.6449, allocations: 416 / 0.5911 GB, free: 13.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.645, allocations: 19.38 kB / 0.5912 GB, free: 13.35 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.645, allocations: 3.938 kB / 0.5912 GB, free: 13.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/0.6583, allocations: 1.314 MB / 0.5924 GB, free: 12.14 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/0.6586, allocations: 150.1 kB / 0.5926 GB, free: 11.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.249, allocations: 3.938 kB / 0.5926 GB, free: 11.91 MB / 410.7 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat does not exist to compare? outputFormat=mat