Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001044/0.001044, allocations: 92.72 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001348, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003679, allocations: 8 kB / 306.7 MB, free: 1.258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1303, allocations: 51.5 MB / 358.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.00174/0.1321, allocations: 1.27 MB / 359.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007335/0.1329, allocations: 483.2 kB / 359.9 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.301e-05/0.133, allocations: 4 kB / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.133, allocations: 3.938 kB / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.1331, allocations: 3.984 kB / 360 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.1334, allocations: 43.83 kB / 360 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.493e-05/0.1335, allocations: 23.98 kB / 360 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.149e-05/0.1336, allocations: 15.97 kB / 360 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.497e-05/0.1337, allocations: 19.86 kB / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.414e-05/0.1337, allocations: 15.92 kB / 360.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.1338, allocations: 0 / 360.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.822e-05/0.1338, allocations: 4 kB / 360.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.003e-05/0.1338, allocations: 15.92 kB / 360.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.1339, allocations: 33.64 kB / 360.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.711e-05/0.134, allocations: 31.88 kB / 360.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.134, allocations: 4 kB / 360.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.134, allocations: 4 kB / 360.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.134, allocations: 0 / 360.2 MB, free: 11.78 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004274/0.1344, allocations: 363.3 kB / 360.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1345, allocations: 8.031 kB / 360.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.1345, allocations: 42.55 kB / 360.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.1347, allocations: 15.91 kB / 360.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.1349, allocations: 183 kB / 360.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1349, allocations: 4 kB / 360.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.1349, allocations: 7.953 kB / 360.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.1351, allocations: 85.05 kB / 360.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1352, allocations: 0 / 360.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1352, allocations: 0 / 360.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1352, allocations: 8 kB / 360.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.8e-05/0.1353, allocations: 23.92 kB / 360.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.1356, allocations: 265.8 kB / 361.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.552e-05/0.1357, allocations: 49.16 kB / 361.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.1357, allocations: 3.984 kB / 361.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.1357, allocations: 34.62 kB / 361.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1357, allocations: 0 / 361.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002401/0.136, allocations: 77.61 kB / 361.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.136, allocations: 77.11 kB / 361.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.1362, allocations: 140.1 kB / 361.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1362, allocations: 29.7 kB / 361.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/0.1363, allocations: 88.08 kB / 361.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.1363, allocations: 7.938 kB / 361.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/0.1363, allocations: 0 / 361.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1364, allocations: 319 kB / 362 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.313e-05/0.1365, allocations: 12 kB / 362 MB, free: 9.727 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.079e-05/0.1365, allocations: 25.64 kB / 362 MB, free: 9.695 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.957e-05/0.1366, allocations: 4 kB / 362 MB, free: 9.691 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1366, allocations: 8.062 kB / 362 MB, free: 9.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001247/0.1367, allocations: 65.53 kB / 362.1 MB, free: 9.613 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1367, allocations: 4 kB / 362.1 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1367, allocations: 3.938 kB / 362.1 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1367, allocations: 3.938 kB / 362.1 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.072e-05/0.1368, allocations: 8 kB / 362.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1368, allocations: 0 / 362.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.736e-05/0.1369, allocations: 12.05 kB / 362.1 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.1369, allocations: 0 / 362.1 MB, free: 9.582 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 8.316e-05/0.137, allocations: 113.8 kB / 362.2 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.1371, allocations: 49.55 kB / 362.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.1371, allocations: 7.828 kB / 362.3 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1371, allocations: 4 kB / 362.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.1371, allocations: 4 kB / 362.3 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1371, allocations: 3.984 kB / 362.3 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.1373, allocations: 169.7 kB / 362.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1373, allocations: 0 / 362.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.555e-05/0.1373, allocations: 11.94 kB / 362.5 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.1374, allocations: 7.938 kB / 362.5 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1374, allocations: 0 / 362.5 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1374, allocations: 0 / 362.5 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1374, allocations: 4 kB / 362.5 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.1376, allocations: 170 kB / 362.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.1376, allocations: 93.05 kB / 362.7 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.1376, allocations: 4 kB / 362.7 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.1377, allocations: 3.984 kB / 362.7 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.1378, allocations: 4 kB / 362.7 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.1378, allocations: 0 / 362.7 MB, free: 8.832 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.075e-05/0.1378, allocations: 117.7 kB / 362.9 MB, free: 8.719 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1378, allocations: 3.938 kB / 362.9 MB, free: 8.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002163/0.1381, allocations: 4 kB / 362.9 MB, free: 8.711 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 (2): * Single equations (assignments): 2 * 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.0004818/0.1386, allocations: 0.772 MB / 363.6 MB, free: 7.902 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.1387, allocations: 27.92 kB / 363.7 MB, free: 7.875 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1387, allocations: 0 / 363.7 MB, free: 7.875 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.099e-05/0.1388, allocations: 16.14 kB / 363.7 MB, free: 7.859 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.139, allocations: 12.02 kB / 363.7 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007963/0.1398, allocations: 0.6122 MB / 364.3 MB, free: 7.176 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.1401, allocations: 0.6966 MB / 365 MB, free: 6.453 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.777e-05/0.1401, allocations: 4 kB / 365 MB, free: 6.449 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.1402, allocations: 15.44 kB / 365 MB, free: 6.434 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1402, allocations: 3.938 kB / 365 MB, free: 6.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/0.1522, allocations: 1.209 MB / 366.2 MB, free: 5.371 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.1525, allocations: 200.8 kB / 366.4 MB, free: 5.125 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/1.959, allocations: 2.672 kB / 366.4 MB, free: 5.125 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat does not exist to compare? outputFormat=mat