Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001607/0.001607, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.568/1.568, allocations: 225.6 MB / 234.8 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001091/0.001091, allocations: 100.4 kB / 286.7 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2201/0.2201, allocations: 45.15 MB / 383.8 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.35e-05/2.364e-05, allocations: 0 / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1171, allocations: 63.25 MB / 0.5044 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4271/0.5443, allocations: 86.47 MB / 0.5889 GB, free: 36 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.5445, allocations: 62.72 kB / 0.5889 GB, free: 4 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002753/0.5473, allocations: 1.037 MB / 0.59 GB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.5473, allocations: 0 / 0.59 GB, free: 15.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.5474, allocations: 0 / 0.59 GB, free: 15.11 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.000348/0.5477, allocations: 337.4 kB / 0.5903 GB, free: 14.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.5478, allocations: 16.03 kB / 0.5903 GB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.5478, allocations: 4.531 kB / 0.5903 GB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.548, allocations: 178.6 kB / 0.5905 GB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.548, allocations: 0 / 0.5905 GB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.548, allocations: 4 kB / 0.5905 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.498e-05/0.5481, allocations: 15.92 kB / 0.5905 GB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.914e-05/0.5482, allocations: 55.97 kB / 0.5905 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.5482, allocations: 0 / 0.5905 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.5482, allocations: 7.984 kB / 0.5906 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.5483, allocations: 4 kB / 0.5906 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.5487, allocations: 427 kB / 0.591 GB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.5488, allocations: 44.48 kB / 0.591 GB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.5489, allocations: 12.73 kB / 0.591 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.5489, allocations: 4 kB / 0.591 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.5489, allocations: 30.56 kB / 0.591 GB, free: 13.87 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.5489, allocations: 0 / 0.591 GB, free: 13.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.000297/0.5492, allocations: 65.25 kB / 0.5911 GB, free: 13.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.5493, allocations: 59.39 kB / 0.5912 GB, free: 13.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.195e-05/0.5493, allocations: 103.3 kB / 0.5913 GB, free: 13.63 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.5494, allocations: 29.7 kB / 0.5913 GB, free: 13.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.5494, allocations: 95.22 kB / 0.5914 GB, free: 13.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.5494, allocations: 10.84 kB / 0.5914 GB, free: 13.49 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.5494, allocations: 0 / 0.5914 GB, free: 13.49 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.5495, allocations: 318.8 kB / 0.5917 GB, free: 13.17 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.322e-05/0.5496, allocations: 6.938 kB / 0.5917 GB, free: 13.17 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.535e-05/0.5496, allocations: 37.17 kB / 0.5917 GB, free: 13.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.762e-05/0.5496, allocations: 19.25 kB / 0.5918 GB, free: 13.11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.5496, allocations: 0 / 0.5918 GB, free: 13.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001025/0.5498, allocations: 72.33 kB / 0.5918 GB, free: 13.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.5498, allocations: 4 kB / 0.5918 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.5498, allocations: 0 / 0.5918 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.5498, allocations: 4 kB / 0.5918 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.5499, allocations: 16.08 kB / 0.5919 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.5499, allocations: 4 kB / 0.5919 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.923e-05/0.5499, allocations: 0 / 0.5919 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.55, allocations: 7.781 kB / 0.5919 GB, free: 13.01 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 () * 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.419e-05/0.55, allocations: 111.6 kB / 0.592 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.619e-05/0.5501, allocations: 56.78 kB / 0.592 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.5502, allocations: 4 kB / 0.592 GB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.5502, allocations: 11.77 kB / 0.592 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.5502, allocations: 0 / 0.592 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5502, allocations: 4 kB / 0.592 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5502, allocations: 3.953 kB / 0.592 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.5503, allocations: 144.8 kB / 0.5922 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5504, allocations: 4 kB / 0.5922 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.817e-05/0.5504, allocations: 8 kB / 0.5922 GB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.5505, allocations: 0 / 0.5922 GB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.5505, allocations: 3.938 kB / 0.5922 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5505, allocations: 0 / 0.5922 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5505, allocations: 0 / 0.5922 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.5506, allocations: 176.3 kB / 0.5924 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.5507, allocations: 77.11 kB / 0.5924 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.5507, allocations: 0 / 0.5924 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.5508, allocations: 4.031 kB / 0.5924 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.5508, allocations: 0 / 0.5924 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.5508, allocations: 4 kB / 0.5924 GB, free: 12.35 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.748e-05/0.5509, allocations: 86.45 kB / 0.5925 GB, free: 12.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5509, allocations: 4 kB / 0.5925 GB, free: 12.26 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.5511, allocations: 8.062 kB / 0.5925 GB, free: 12.25 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 () * 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.000386/0.5515, allocations: 0.698 MB / 0.5932 GB, free: 11.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.092e-05/0.5516, allocations: 26.92 kB / 0.5933 GB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5516, allocations: 0 / 0.5933 GB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.466e-05/0.5516, allocations: 15.75 kB / 0.5933 GB, free: 11.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.5518, allocations: 8 kB / 0.5933 GB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004642/0.5523, allocations: 139.2 kB / 0.5934 GB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.5526, allocations: 0.6807 MB / 0.5941 GB, free: 10.63 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.352e-05/0.5526, allocations: 8.172 kB / 0.5941 GB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.5526, allocations: 14.94 kB / 0.5941 GB, free: 10.61 MB / 394.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5526, allocations: 0 / 0.5941 GB, free: 10.61 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.5725, allocations: 0.9948 MB / 0.5951 GB, free: 9.621 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.5728, allocations: 132 kB / 0.5952 GB, free: 9.434 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.476/2.048, allocations: 4.031 kB / 0.5952 GB, free: 9.43 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat does not exist to compare? outputFormat=mat