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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0008439/0.0008439, allocations: 97.77 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001086, allocations: 193.9 kB / 17.9 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.3 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002271/0.0002272, allocations: 4 kB / 306.8 MB, free: 1.488 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1011, allocations: 51.49 MB / 358.3 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.002379/0.1035, allocations: 1.392 MB / 359.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000444/0.104, allocations: 171.5 kB / 359.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.1e-05/0.1041, allocations: 4 kB / 359.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.323e-05/0.1042, allocations: 3.938 kB / 359.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.1043, allocations: 7.922 kB / 359.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.1046, allocations: 39.91 kB / 359.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.1047, allocations: 47.84 kB / 360 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.1048, allocations: 35.95 kB / 360 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.24e-05/0.1049, allocations: 7.938 kB / 360 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.483e-05/0.105, allocations: 23.86 kB / 360 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.105, allocations: 0 / 360 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.283e-05/0.105, allocations: 4 kB / 360 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.689e-05/0.1051, allocations: 11.92 kB / 360 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.1051, allocations: 41.58 kB / 360.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.452e-05/0.1052, allocations: 47.91 kB / 360.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1052, allocations: 0 / 360.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1052, allocations: 0 / 360.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1052, allocations: 0 / 360.1 MB, free: 12.15 MB / 302.1 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.0005633/0.1058, allocations: 383.2 kB / 360.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1058, allocations: 8.031 kB / 360.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.466e-05/0.1059, allocations: 38.56 kB / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.1059, allocations: 7.906 kB / 360.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.1062, allocations: 190.9 kB / 360.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1062, allocations: 7.953 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.1062, allocations: 7.938 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.1066, allocations: 169.8 kB / 360.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.1066, allocations: 0 / 360.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1066, allocations: 0 / 360.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1066, allocations: 4 kB / 360.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.1067, allocations: 39.92 kB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005432/0.1073, allocations: 373.8 kB / 361.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.1075, allocations: 123.8 kB / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.941e-05/0.1077, allocations: 54.69 kB / 361.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.1077, allocations: 8 kB / 361.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.1077, allocations: 34.56 kB / 361.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 2.865e-06/0.1077, allocations: 7.922 kB / 361.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003349/0.1081, allocations: 133.8 kB / 361.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.1081, allocations: 111.1 kB / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.1083, allocations: 144.2 kB / 361.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1083, allocations: 29.7 kB / 362 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.1084, allocations: 92.05 kB / 362.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.1084, allocations: 7.984 kB / 362.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.1084, allocations: 0 / 362.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.1086, allocations: 322.8 kB / 362.4 MB, free: 9.621 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.777e-05/0.1087, allocations: 15.98 kB / 362.4 MB, free: 9.605 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.307e-05/0.1088, allocations: 75.66 kB / 362.5 MB, free: 9.504 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.242e-05/0.1088, allocations: 27.98 kB / 362.5 MB, free: 9.477 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1088, allocations: 0 / 362.5 MB, free: 9.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003036/0.1091, allocations: 109.6 kB / 362.6 MB, free: 9.363 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1092, allocations: 8 kB / 362.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.1092, allocations: 3.938 kB / 362.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1092, allocations: 4 kB / 362.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.005e-05/0.1093, allocations: 23.92 kB / 362.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.1093, allocations: 4 kB / 362.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.157e-05/0.1093, allocations: 11.91 kB / 362.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.1094, allocations: 4.25 kB / 362.7 MB, free: 9.305 MB / 302.1 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 () * Number of clocked 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 0.0001105/0.1095, allocations: 138.8 kB / 362.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.1096, allocations: 77.59 kB / 362.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/0.1097, allocations: 12.72 kB / 362.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1097, allocations: 0 / 362.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1097, allocations: 0 / 362.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1097, allocations: 0 / 362.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.1099, allocations: 185.6 kB / 363.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.1099, allocations: 7.984 kB / 363.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.415e-05/0.11, allocations: 16 kB / 363.1 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.11, allocations: 4 kB / 363.1 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.11, allocations: 4 kB / 363.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.11, allocations: 3.984 kB / 363.1 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1101, allocations: 3.938 kB / 363.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.1104, allocations: 316.3 kB / 363.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/0.1105, allocations: 93 kB / 363.5 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.1105, allocations: 7.938 kB / 363.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.436e-05/0.1106, allocations: 11.94 kB / 363.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.1107, allocations: 0 / 363.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.1107, allocations: 8 kB / 363.5 MB, free: 8.324 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.1108, allocations: 117.3 kB / 363.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1108, allocations: 4 kB / 363.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.1111, allocations: 8 kB / 363.7 MB, free: 8.199 MB / 302.1 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 () * Number of clocked 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.0007038/0.1118, allocations: 0.8422 MB / 364.5 MB, free: 7.324 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.112, allocations: 71.83 kB / 364.6 MB, free: 7.254 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.112, allocations: 0.5625 kB / 364.6 MB, free: 7.254 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.078e-05/0.1121, allocations: 19.92 kB / 364.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.1125, allocations: 43.45 kB / 364.6 MB, free: 7.195 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00094/0.1135, allocations: 0.6011 MB / 365.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.1137, allocations: 0.6926 MB / 365.9 MB, free: 5.797 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.574e-05/0.1138, allocations: 12.66 kB / 365.9 MB, free: 5.781 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.1138, allocations: 19.44 kB / 366 MB, free: 5.762 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1138, allocations: 0 / 366 MB, free: 5.762 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01215/0.126, allocations: 1.574 MB / 367.5 MB, free: 4.324 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/0.1262, allocations: 201.8 kB / 367.7 MB, free: 4.082 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/1.866, allocations: 0 / 367.7 MB, free: 4.082 MB / 302.1 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