Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009726/0.0009727, allocations: 86.16 kB / 16.31 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 179.5 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.3 MB / 241.2 MB, free: 5.348 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002589/0.0002589, allocations: 7.375 kB / 300.9 MB, free: 6.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.117, allocations: 50.43 MB / 351.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.001998/0.119, allocations: 1.374 MB / 352.7 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004034/0.1194, allocations: 167.5 kB / 352.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.158e-05/0.1196, allocations: 4 kB / 352.9 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/0.1196, allocations: 7.922 kB / 352.9 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.1197, allocations: 3.984 kB / 352.9 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.12, allocations: 43.91 kB / 352.9 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.1201, allocations: 47.84 kB / 353 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1202, allocations: 27.92 kB / 353 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.91e-05/0.1202, allocations: 15.86 kB / 353 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.789e-05/0.1203, allocations: 19.88 kB / 353 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.1203, allocations: 0 / 353 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.1203, allocations: 7.938 kB / 353.1 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.108e-05/0.1204, allocations: 19.97 kB / 353.1 MB, free: 9.82 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.1204, allocations: 37.64 kB / 353.1 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.536e-05/0.1205, allocations: 39.92 kB / 353.2 MB, free: 9.738 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.1205, allocations: 0 / 353.2 MB, free: 9.738 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1205, allocations: 3.938 kB / 353.2 MB, free: 9.734 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.1206, allocations: 0 / 353.2 MB, free: 9.734 MB / 286.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.0004722/0.121, allocations: 378.9 kB / 353.5 MB, free: 9.316 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1211, allocations: 8.031 kB / 353.5 MB, free: 9.309 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.244e-05/0.1211, allocations: 46.55 kB / 353.6 MB, free: 9.254 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.1212, allocations: 7.906 kB / 353.6 MB, free: 9.246 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.1214, allocations: 190.9 kB / 353.8 MB, free: 9.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1214, allocations: 4 kB / 353.8 MB, free: 9.016 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.1215, allocations: 8 kB / 353.8 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.1218, allocations: 169.7 kB / 354 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.1219, allocations: 3.953 kB / 354 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.1219, allocations: 4 kB / 354 MB, free: 8.812 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.1219, allocations: 4 kB / 354 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.122, allocations: 43.91 kB / 354 MB, free: 8.766 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.1225, allocations: 357.9 kB / 354.4 MB, free: 8.359 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.1227, allocations: 119.8 kB / 354.5 MB, free: 8.215 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.1229, allocations: 66.55 kB / 354.5 MB, free: 8.141 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.1229, allocations: 8 kB / 354.5 MB, free: 8.133 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.1229, allocations: 30.56 kB / 354.6 MB, free: 8.094 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1229, allocations: 4 kB / 354.6 MB, free: 8.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003502/0.1233, allocations: 129.9 kB / 354.7 MB, free: 7.957 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.1234, allocations: 114.8 kB / 354.8 MB, free: 7.82 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.1235, allocations: 135.9 kB / 354.9 MB, free: 7.676 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1235, allocations: 25.7 kB / 355 MB, free: 7.645 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.1236, allocations: 100.3 kB / 355.1 MB, free: 7.543 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.1236, allocations: 7.938 kB / 355.1 MB, free: 7.535 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.1236, allocations: 0 / 355.1 MB, free: 7.535 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1238, allocations: 322.8 kB / 355.4 MB, free: 7.211 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.602e-05/0.1239, allocations: 12 kB / 355.4 MB, free: 7.199 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.489e-05/0.124, allocations: 75.7 kB / 355.5 MB, free: 7.098 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.348e-05/0.124, allocations: 32.12 kB / 355.5 MB, free: 7.066 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.124, allocations: 0 / 355.5 MB, free: 7.066 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002326/0.1243, allocations: 117.3 kB / 355.6 MB, free: 6.945 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.1243, allocations: 11.98 kB / 355.6 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.1243, allocations: 4.281 kB / 355.6 MB, free: 6.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1243, allocations: 8 kB / 355.7 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.148e-05/0.1244, allocations: 19.94 kB / 355.7 MB, free: 6.902 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.1244, allocations: 7.984 kB / 355.7 MB, free: 6.895 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/0.1245, allocations: 7.906 kB / 355.7 MB, free: 6.887 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1245, allocations: 8 kB / 355.7 MB, free: 6.879 MB / 286.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.000204/0.1247, allocations: 117.8 kB / 355.8 MB, free: 6.754 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.1249, allocations: 85.47 kB / 355.9 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.1249, allocations: 20.7 kB / 355.9 MB, free: 6.641 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1249, allocations: 0 / 355.9 MB, free: 6.641 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1249, allocations: 0 / 355.9 MB, free: 6.641 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.1249, allocations: 4 kB / 355.9 MB, free: 6.637 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.1252, allocations: 185.6 kB / 356.1 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1252, allocations: 0 / 356.1 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.275e-05/0.1253, allocations: 19.98 kB / 356.1 MB, free: 6.387 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1253, allocations: 4 kB / 356.1 MB, free: 6.383 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1253, allocations: 3.953 kB / 356.1 MB, free: 6.379 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.1253, allocations: 0 / 356.1 MB, free: 6.379 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.1253, allocations: 3.938 kB / 356.1 MB, free: 6.375 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.1257, allocations: 320.2 kB / 356.4 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.1258, allocations: 96.98 kB / 356.5 MB, free: 5.926 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.1258, allocations: 8 kB / 356.5 MB, free: 5.918 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.1259, allocations: 8 kB / 356.6 MB, free: 5.91 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.1259, allocations: 0 / 356.6 MB, free: 5.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.1259, allocations: 4 kB / 356.6 MB, free: 5.906 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.769e-05/0.126, allocations: 113.7 kB / 356.7 MB, free: 5.797 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.126, allocations: 0 / 356.7 MB, free: 5.797 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1263, allocations: 8 kB / 356.7 MB, free: 5.789 MB / 286.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.000645/0.127, allocations: 0.8578 MB / 357.5 MB, free: 4.898 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.1271, allocations: 63.84 kB / 357.6 MB, free: 4.836 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1272, allocations: 0 / 357.6 MB, free: 4.836 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.143e-05/0.1272, allocations: 12 kB / 357.6 MB, free: 4.824 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.1277, allocations: 44.64 kB / 357.6 MB, free: 4.781 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.1287, allocations: 0.6068 MB / 358.3 MB, free: 4.094 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.1291, allocations: 0.6965 MB / 359 MB, free: 3.371 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.974e-05/0.1291, allocations: 4.672 kB / 359 MB, free: 3.363 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/0.1292, allocations: 23.42 kB / 359 MB, free: 3.34 MB / 286.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1292, allocations: 0 / 359 MB, free: 3.34 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01198/0.1411, allocations: 1.583 MB / 360.6 MB, free: 1.898 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/0.1413, allocations: 214.7 kB / 360.8 MB, free: 1.641 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/1.97, allocations: 0 / 360.8 MB, free: 1.641 MB / 286.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat does not exist to compare? outputFormat=mat