Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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) 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(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",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.000932/0.000932, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 221.5 MB / 230.3 MB, free: 7.566 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.0008391/0.0008391, allocations: 96.36 kB / 281.2 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.991e-05/1.993e-05, allocations: 4 kB / 337.1 MB, free: 9.914 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 50.42 MB / 387.6 MB, free: 7.445 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3412/0.4482, allocations: 75.93 MB / 463.5 MB, free: 2.832 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/0.4486, allocations: 71.95 kB / 463.6 MB, free: 2.762 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003345/0.452, allocations: 1.022 MB / 464.6 MB, free: 1.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.452, allocations: 0 / 464.6 MB, free: 1.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.452, allocations: 0 / 464.6 MB, free: 1.75 MB / 330.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.0004192/0.4525, allocations: 343.3 kB / 464.9 MB, free: 1.371 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.4525, allocations: 8.031 kB / 464.9 MB, free: 1.363 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.4526, allocations: 11.86 kB / 464.9 MB, free: 1.352 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.4528, allocations: 175 kB / 465.1 MB, free: 1.141 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.4528, allocations: 0 / 465.1 MB, free: 1.141 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.4528, allocations: 10.67 kB / 465.1 MB, free: 1.133 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.707e-05/0.4529, allocations: 12 kB / 465.1 MB, free: 1.121 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.4531, allocations: 95.33 kB / 465.2 MB, free: 1.016 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.4531, allocations: 0 / 465.2 MB, free: 1.016 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.4532, allocations: 0 / 465.2 MB, free: 1.016 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.4532, allocations: 3.953 kB / 465.2 MB, free: 1.012 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.4533, allocations: 138.2 kB / 465.4 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.4534, allocations: 42.52 kB / 465.4 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.4535, allocations: 20.89 kB / 465.4 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.4535, allocations: 8.109 kB / 465.4 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.4535, allocations: 34.56 kB / 465.5 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.4536, allocations: 0 / 465.5 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001589/0.4537, allocations: 49.69 kB / 465.5 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.4538, allocations: 51.41 kB / 465.6 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.87e-05/0.4539, allocations: 105.7 kB / 465.7 MB, free: 500 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.4539, allocations: 25.7 kB / 465.7 MB, free: 468 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.4539, allocations: 88.14 kB / 465.8 MB, free: 376 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.233e-06/0.4539, allocations: 3.984 kB / 465.8 MB, free: 372 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.454, allocations: 0 / 465.8 MB, free: 372 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4541, allocations: 318.8 kB / 466.1 MB, free: 44 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.4541, allocations: 3.938 kB / 466.1 MB, free: 40 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.034e-05/0.4542, allocations: 27.44 kB / 466.1 MB, free: 0 / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.081e-05/0.4543, allocations: 8.188 kB / 466.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.4543, allocations: 0 / 466.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.7e-05/0.4544, allocations: 61.47 kB / 466.2 MB, free: 15.92 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4544, allocations: 4 kB / 466.2 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4544, allocations: 0.625 kB / 466.2 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4544, allocations: 4 kB / 466.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.4545, allocations: 7.984 kB / 466.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.4545, allocations: 4.125 kB / 466.2 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.383e-05/0.4545, allocations: 4 kB / 466.2 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.4545, allocations: 2.938 kB / 466.2 MB, free: 15.9 MB / 346.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001168/0.4547, allocations: 116.8 kB / 466.3 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.618e-05/0.4547, allocations: 49.59 kB / 466.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.4548, allocations: 4 kB / 466.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.198e-05/0.4548, allocations: 8.344 kB / 466.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4548, allocations: 0 / 466.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4548, allocations: 0 / 466.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4548, allocations: 4 kB / 466.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.455, allocations: 146.2 kB / 466.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.455, allocations: 0 / 466.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.629e-05/0.455, allocations: 8 kB / 466.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4551, allocations: 0 / 466.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.4551, allocations: 3.984 kB / 466.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.4551, allocations: 0 / 466.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.4551, allocations: 3.938 kB / 466.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.4552, allocations: 84.98 kB / 466.6 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.507e-05/0.4553, allocations: 81.11 kB / 466.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.4553, allocations: 0 / 466.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.797e-05/0.4553, allocations: 3.984 kB / 466.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-06/0.4554, allocations: 4 kB / 466.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.4554, allocations: 0 / 466.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.024e-05/0.4554, allocations: 87.59 kB / 466.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4554, allocations: 0 / 466.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001808/0.4556, allocations: 4 kB / 466.8 MB, free: 15.21 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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.0004019/0.456, allocations: 0.624 MB / 467.4 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.679e-05/0.4561, allocations: 16.03 kB / 467.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4561, allocations: 4 kB / 467.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.02e-07/0.4561, allocations: 0 / 467.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.4563, allocations: 19.88 kB / 467.5 MB, free: 14.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.4566, allocations: 109.8 kB / 467.6 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.4569, allocations: 0.6807 MB / 468.3 MB, free: 13.67 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.902e-05/0.4569, allocations: 7.984 kB / 468.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.4569, allocations: 11.44 kB / 468.3 MB, free: 13.65 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.457, allocations: 0 / 468.3 MB, free: 13.65 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.4766, allocations: 0.7836 MB / 469.1 MB, free: 12.88 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.4769, allocations: 170 kB / 469.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.413/1.89, allocations: 4.031 kB / 469.2 MB, free: 12.67 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat does not exist to compare? outputFormat=mat