Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",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.0009869/0.000987, allocations: 87.14 kB / 16.31 MB, free: 6.449 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.001428/0.001428, allocations: 182.8 kB / 17.21 MB, free: 6.32 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.514/1.514, allocations: 223.3 MB / 241.2 MB, free: 14.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002988, allocations: 8 kB / 300.9 MB, free: 6.098 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.112, allocations: 50.41 MB / 351.3 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002045/0.1141, allocations: 1.308 MB / 352.6 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009627/0.1151, allocations: 0.4912 MB / 353.1 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.1153, allocations: 7.938 kB / 353.1 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.42e-05/0.1153, allocations: 3.938 kB / 353.1 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.1155, allocations: 15.91 kB / 353.2 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.1158, allocations: 55.02 kB / 353.2 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.1159, allocations: 47.8 kB / 353.3 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.116, allocations: 19.98 kB / 353.3 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.37e-05/0.1161, allocations: 27.84 kB / 353.3 MB, free: 1.684 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.878e-05/0.1162, allocations: 15.88 kB / 353.3 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1162, allocations: 0 / 353.3 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/0.1162, allocations: 4 kB / 353.3 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.1163, allocations: 15.92 kB / 353.3 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.1163, allocations: 37.64 kB / 353.4 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.614e-05/0.1164, allocations: 47.84 kB / 353.4 MB, free: 1.559 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.1164, allocations: 0 / 353.4 MB, free: 1.559 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1164, allocations: 0 / 353.4 MB, free: 1.559 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1165, allocations: 4 kB / 353.4 MB, free: 1.555 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005937/0.1171, allocations: 375.2 kB / 353.8 MB, free: 1.141 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1171, allocations: 8.031 kB / 353.8 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.1172, allocations: 42.55 kB / 353.9 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.1172, allocations: 11.81 kB / 353.9 MB, free: 1.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.1175, allocations: 198.8 kB / 354.1 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.1175, allocations: 8 kB / 354.1 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.1175, allocations: 0 / 354.1 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.1179, allocations: 142.7 kB / 354.2 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.1179, allocations: 0 / 354.2 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1179, allocations: 3.953 kB / 354.2 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1179, allocations: 0 / 354.2 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.81e-05/0.118, allocations: 39.92 kB / 354.2 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.1185, allocations: 283.5 kB / 354.5 MB, free: 292 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.1186, allocations: 94.42 kB / 354.6 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.363e-05/0.1187, allocations: 47.48 kB / 354.7 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.1187, allocations: 4 kB / 354.7 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.1188, allocations: 42.45 kB / 354.7 MB, free: 44 kB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1188, allocations: 0 / 354.7 MB, free: 44 kB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003339/0.1191, allocations: 117.6 kB / 354.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.959e-05/0.1192, allocations: 128.5 kB / 354.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.1194, allocations: 158.1 kB / 355.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.1195, allocations: 25.7 kB / 355.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.1196, allocations: 92.31 kB / 355.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.1196, allocations: 4.219 kB / 355.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/0.1196, allocations: 8 kB / 355.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1198, allocations: 310.8 kB / 355.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-05/0.1198, allocations: 15.98 kB / 355.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.636e-05/0.1199, allocations: 49.14 kB / 355.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.513e-05/0.12, allocations: 23.94 kB / 355.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.12, allocations: 0 / 355.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001754/0.1202, allocations: 93.45 kB / 355.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.1202, allocations: 11.94 kB / 355.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.1202, allocations: 4 kB / 355.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1202, allocations: 3.938 kB / 355.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1203, allocations: 12 kB / 355.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.1204, allocations: 4 kB / 355.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.1204, allocations: 7.984 kB / 355.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.1204, allocations: 0 / 355.8 MB, free: 14.91 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.0001156/0.1206, allocations: 133.9 kB / 355.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.1207, allocations: 65.53 kB / 355.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/0.1207, allocations: 15.83 kB / 356 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1207, allocations: 3.984 kB / 356 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.1208, allocations: 7.984 kB / 356 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1208, allocations: 0 / 356 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.121, allocations: 173.6 kB / 356.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.121, allocations: 3.984 kB / 356.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.98e-05/0.1211, allocations: 16.09 kB / 356.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1211, allocations: 4 kB / 356.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1211, allocations: 128 / 356.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.1211, allocations: 7.953 kB / 356.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.1211, allocations: 7.984 kB / 356.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.1214, allocations: 198 kB / 356.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.788e-05/0.1215, allocations: 97 kB / 356.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.1215, allocations: 0 / 356.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.448e-05/0.1216, allocations: 4 kB / 356.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.1216, allocations: 7.953 kB / 356.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.1216, allocations: 4 kB / 356.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002142/0.1219, allocations: 115.2 kB / 356.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1219, allocations: 0 / 356.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.1221, allocations: 8 kB / 356.6 MB, free: 13.94 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0007745/0.1229, allocations: 0.7382 MB / 357.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.1231, allocations: 39.92 kB / 357.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1231, allocations: 0 / 357.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.215e-05/0.1232, allocations: 24.3 kB / 357.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000708/0.1239, allocations: 35.98 kB / 357.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.1251, allocations: 0.5991 MB / 358 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.1255, allocations: 0.6926 MB / 358.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.17e-05/0.1256, allocations: 8.656 kB / 358.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.059e-05/0.1257, allocations: 19.44 kB / 358.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1257, allocations: 4 kB / 358.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.1441, allocations: 1.75 MB / 360.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003305/0.1446, allocations: 199.7 kB / 360.7 MB, free: 9.812 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.051, allocations: 3.375 kB / 360.7 MB, free: 9.812 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat does not exist to compare? outputFormat=mat