Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009347/0.000935, allocations: 96.77 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 208.8 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002289/0.000229, allocations: 8 kB / 306.7 MB, free: 1.254 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1064, allocations: 51.5 MB / 358.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.001989/0.1084, allocations: 1.278 MB / 359.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008937/0.1093, allocations: 499.1 kB / 360 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.352e-05/0.1095, allocations: 0 / 360 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.98e-05/0.1095, allocations: 0 / 360 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.1097, allocations: 11.92 kB / 360 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.1099, allocations: 39.89 kB / 360 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.583e-05/0.1101, allocations: 27.91 kB / 360 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1102, allocations: 19.97 kB / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.1103, allocations: 19.92 kB / 360.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.1104, allocations: 15.92 kB / 360.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.1104, allocations: 4 kB / 360.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.489e-05/0.1104, allocations: 0 / 360.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.1105, allocations: 11.92 kB / 360.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.1105, allocations: 41.58 kB / 360.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.1106, allocations: 35.94 kB / 360.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1106, allocations: 0 / 360.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1107, allocations: 0 / 360.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1107, allocations: 4 kB / 360.2 MB, free: 11.75 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005128/0.1112, allocations: 367.3 kB / 360.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.1112, allocations: 8.031 kB / 360.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.1113, allocations: 38.56 kB / 360.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.1114, allocations: 19.89 kB / 360.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.1117, allocations: 186.9 kB / 360.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1117, allocations: 4 kB / 360.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.1117, allocations: 7.953 kB / 360.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.112, allocations: 121 kB / 360.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.112, allocations: 0 / 360.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.112, allocations: 4 kB / 360.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1121, allocations: 4 kB / 360.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.566e-05/0.1121, allocations: 23.92 kB / 361 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.1125, allocations: 269.7 kB / 361.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.1128, allocations: 146.2 kB / 361.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1128, allocations: 0 / 361.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1128, allocations: 34.56 kB / 361.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 2.525e-06/0.1128, allocations: 0 / 361.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000265/0.1131, allocations: 97.59 kB / 361.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.1132, allocations: 77.11 kB / 361.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.1133, allocations: 140.1 kB / 361.7 MB, free: 9.988 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1133, allocations: 25.7 kB / 361.7 MB, free: 9.957 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.1134, allocations: 92.12 kB / 361.8 MB, free: 9.863 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.1134, allocations: 3.906 kB / 361.8 MB, free: 9.859 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.1134, allocations: 4 kB / 361.8 MB, free: 9.855 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1136, allocations: 315 kB / 362.1 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-05/0.1136, allocations: 15.98 kB / 362.2 MB, free: 9.523 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.326e-05/0.1137, allocations: 35.42 kB / 362.2 MB, free: 9.477 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.833e-05/0.1138, allocations: 19.94 kB / 362.2 MB, free: 9.457 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1138, allocations: 3.953 kB / 362.2 MB, free: 9.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000139/0.1139, allocations: 73.61 kB / 362.3 MB, free: 9.375 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1139, allocations: 4 kB / 362.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.114, allocations: 0 / 362.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.114, allocations: 4 kB / 362.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.301e-05/0.114, allocations: 12.12 kB / 362.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1141, allocations: 0 / 362.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.121e-05/0.1141, allocations: 15.89 kB / 362.3 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1141, allocations: 4 kB / 362.3 MB, free: 9.336 MB / 302.1 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 () * Number of clocked 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 9.461e-05/0.1142, allocations: 117.8 kB / 362.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.071e-05/0.1143, allocations: 49.64 kB / 362.5 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.239e-05/0.1144, allocations: 12.25 kB / 362.5 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1144, allocations: 0 / 362.5 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.1144, allocations: 4 kB / 362.5 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1144, allocations: 0 / 362.5 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.1146, allocations: 173.5 kB / 362.7 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1146, allocations: 0 / 362.7 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.747e-05/0.1146, allocations: 15.95 kB / 362.7 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1147, allocations: 0 / 362.7 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.1147, allocations: 0 / 362.7 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.1147, allocations: 7.938 kB / 362.7 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1147, allocations: 7.922 kB / 362.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.1149, allocations: 186 kB / 362.9 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-05/0.115, allocations: 89.09 kB / 363 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.115, allocations: 0 / 363 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.227e-05/0.1151, allocations: 7.938 kB / 363 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.1151, allocations: 4 kB / 363 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1151, allocations: 0 / 363 MB, free: 8.559 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.319e-05/0.1152, allocations: 113.7 kB / 363.1 MB, free: 8.449 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1152, allocations: 0 / 363.1 MB, free: 8.449 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.1155, allocations: 12 kB / 363.1 MB, free: 8.438 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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.0005666/0.116, allocations: 0.7841 MB / 363.9 MB, free: 7.617 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.1162, allocations: 35.95 kB / 363.9 MB, free: 7.582 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1162, allocations: 0 / 363.9 MB, free: 7.582 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.073e-05/0.1163, allocations: 12.25 kB / 363.9 MB, free: 7.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.1166, allocations: 24 kB / 364 MB, free: 7.547 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1178, allocations: 0.9584 MB / 364.9 MB, free: 6.523 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.1181, allocations: 0.6926 MB / 365.6 MB, free: 5.805 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.961e-05/0.1181, allocations: 4 kB / 365.6 MB, free: 5.801 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.1182, allocations: 15.42 kB / 365.6 MB, free: 5.785 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1182, allocations: 0 / 365.6 MB, free: 5.785 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01095/0.1292, allocations: 1.311 MB / 366.9 MB, free: 4.609 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/0.1294, allocations: 189.9 kB / 367.1 MB, free: 4.367 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/1.848, allocations: 0 / 367.1 MB, free: 4.367 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat does not exist to compare? outputFormat=mat