Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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) 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(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001674/0.001674, allocations: 195 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008225/0.0008224, allocations: 94.91 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.068e-05/2.071e-05, allocations: 0 / 343.8 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1105, allocations: 51.47 MB / 395.3 MB, free: 4.691 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.311/0.4215, allocations: 77.16 MB / 472.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.4218, allocations: 74.33 kB / 472.5 MB, free: 13.99 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003374/0.4252, allocations: 1.416 MB / 473.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4252, allocations: 0 / 473.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.4252, allocations: 4 kB / 473.9 MB, free: 13.11 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003036/0.4255, allocations: 365.8 kB / 474.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.4256, allocations: 8.031 kB / 474.3 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.4256, allocations: 12.59 kB / 474.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.4258, allocations: 200 kB / 474.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.4258, allocations: 0.8594 kB / 474.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.4258, allocations: 4 kB / 474.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.791e-05/0.4259, allocations: 31.44 kB / 474.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.4262, allocations: 142.6 kB / 474.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4262, allocations: 4 kB / 474.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.4262, allocations: 0 / 474.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.4262, allocations: 0 / 474.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.4266, allocations: 351.4 kB / 475 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.4267, allocations: 100.5 kB / 475.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.4268, allocations: 44.69 kB / 475.1 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.4268, allocations: 12.64 kB / 475.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.4269, allocations: 35.11 kB / 475.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.4269, allocations: 0 / 475.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001968/0.4271, allocations: 87.83 kB / 475.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.4271, allocations: 107.4 kB / 475.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.262e-05/0.4272, allocations: 123.3 kB / 475.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.4272, allocations: 25.7 kB / 475.5 MB, free: 11.42 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.4273, allocations: 84.58 kB / 475.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.4273, allocations: 20.73 kB / 475.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.4273, allocations: 0 / 475.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.968e-05/0.4273, allocations: 316.2 kB / 475.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.925e-05/0.4274, allocations: 15.12 kB / 476 MB, free: 11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.729e-05/0.4274, allocations: 62.97 kB / 476 MB, free: 10.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.153e-05/0.4274, allocations: 20.17 kB / 476 MB, free: 10.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4275, allocations: 0 / 476 MB, free: 10.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001102/0.4276, allocations: 85.41 kB / 476.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.4276, allocations: 12.22 kB / 476.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4276, allocations: 4.656 kB / 476.1 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.4276, allocations: 7.125 kB / 476.1 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.286e-05/0.4277, allocations: 19.19 kB / 476.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.4277, allocations: 4.547 kB / 476.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.105e-05/0.4278, allocations: 5.359 kB / 476.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.4278, allocations: 4 kB / 476.2 MB, free: 10.78 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 4.836e-05/0.4279, allocations: 112.8 kB / 476.3 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001289/0.428, allocations: 90.22 kB / 476.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.428, allocations: 7.906 kB / 476.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.4281, allocations: 13.83 kB / 476.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4281, allocations: 4 kB / 476.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.4281, allocations: 0 / 476.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4281, allocations: 0.75 kB / 476.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.4283, allocations: 166.1 kB / 476.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4283, allocations: 3.953 kB / 476.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.052e-05/0.4284, allocations: 19 kB / 476.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4284, allocations: 0 / 476.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.4284, allocations: 8.062 kB / 476.6 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4284, allocations: 0.7969 kB / 476.6 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.4284, allocations: 3.938 kB / 476.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.4287, allocations: 320.3 kB / 476.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.4287, allocations: 92.92 kB / 477 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.4287, allocations: 8.656 kB / 477 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.295e-05/0.4288, allocations: 4.562 kB / 477 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.4289, allocations: 1.266 kB / 477 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.4289, allocations: 4 kB / 477 MB, free: 9.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.033e-05/0.4289, allocations: 102.7 kB / 477.1 MB, free: 9.844 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.429, allocations: 3.938 kB / 477.1 MB, free: 9.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002618/0.4292, allocations: 12 kB / 477.1 MB, free: 9.828 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0003705/0.4296, allocations: 0.9811 MB / 478.1 MB, free: 8.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.496e-05/0.4297, allocations: 47.58 kB / 478.2 MB, free: 8.805 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4297, allocations: 0 / 478.2 MB, free: 8.805 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.532e-05/0.4297, allocations: 4.844 kB / 478.2 MB, free: 8.801 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.43, allocations: 41.94 kB / 478.2 MB, free: 8.773 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004264/0.4305, allocations: 163.6 kB / 478.4 MB, free: 8.602 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.4306, allocations: 0.7052 MB / 479.1 MB, free: 7.883 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.976e-05/0.4307, allocations: 6.172 kB / 479.1 MB, free: 7.879 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.4307, allocations: 24.08 kB / 479.1 MB, free: 7.867 MB / 346.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4307, allocations: 0 / 479.1 MB, free: 7.867 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.4526, allocations: 1.269 MB / 480.4 MB, free: 7.148 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001443/0.4527, allocations: 143 kB / 480.5 MB, free: 6.961 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.013, allocations: 0.75 kB / 480.5 MB, free: 6.961 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat does not exist to compare? outputFormat=mat