Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",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.001524/0.001524, allocations: 97.08 kB / 16.3 MB, free: 5.535 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.001606/0.001606, allocations: 178.6 kB / 17.19 MB, free: 5.469 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.428/1.428, allocations: 223.2 MB / 241.1 MB, free: 392 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002805, allocations: 7.984 kB / 300.8 MB, free: 6.359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1257, allocations: 50.42 MB / 351.2 MB, free: 3.93 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001323/0.127, allocations: 0.6495 MB / 351.9 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003148/0.1274, allocations: 115.6 kB / 352 MB, free: 3.164 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.213e-05/0.1275, allocations: 7.938 kB / 352 MB, free: 3.156 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.52e-05/0.1275, allocations: 0 / 352 MB, free: 3.156 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.1277, allocations: 3.938 kB / 352 MB, free: 3.152 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.1279, allocations: 39.91 kB / 352 MB, free: 3.113 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.065e-05/0.128, allocations: 23.91 kB / 352.1 MB, free: 3.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1281, allocations: 20.17 kB / 352.1 MB, free: 3.066 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.895e-05/0.1282, allocations: 19.91 kB / 352.1 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.398e-05/0.1282, allocations: 7.938 kB / 352.1 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.1282, allocations: 4 kB / 352.1 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.1283, allocations: 0 / 352.1 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.665e-05/0.1283, allocations: 15.92 kB / 352.1 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.1283, allocations: 37.64 kB / 352.2 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.824e-05/0.1284, allocations: 35.92 kB / 352.2 MB, free: 2.941 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.1284, allocations: 0 / 352.2 MB, free: 2.941 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1284, allocations: 7.938 kB / 352.2 MB, free: 2.934 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1284, allocations: 4 kB / 352.2 MB, free: 2.93 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004084/0.1289, allocations: 359.3 kB / 352.6 MB, free: 2.531 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1289, allocations: 8.031 kB / 352.6 MB, free: 2.523 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.129, allocations: 38.56 kB / 352.6 MB, free: 2.477 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.129, allocations: 19.78 kB / 352.6 MB, free: 2.457 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.1292, allocations: 179 kB / 352.8 MB, free: 2.242 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.1292, allocations: 7.938 kB / 352.8 MB, free: 2.234 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.1292, allocations: 4 kB / 352.8 MB, free: 2.23 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.1294, allocations: 119.3 kB / 352.9 MB, free: 2.102 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.1295, allocations: 0 / 352.9 MB, free: 2.102 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1295, allocations: 7.953 kB / 352.9 MB, free: 2.094 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.1295, allocations: 7.984 kB / 353 MB, free: 2.086 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.935e-05/0.1295, allocations: 12 kB / 353 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.1297, allocations: 173.6 kB / 353.1 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.1298, allocations: 70.69 kB / 353.2 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.1298, allocations: 0 / 353.2 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.1298, allocations: 30.56 kB / 353.2 MB, free: 1.738 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.1298, allocations: 0 / 353.2 MB, free: 1.738 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001792/0.13, allocations: 97.66 kB / 353.3 MB, free: 1.637 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.1301, allocations: 67.3 kB / 353.4 MB, free: 1.559 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.1302, allocations: 140.5 kB / 353.5 MB, free: 1.414 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.1302, allocations: 25.7 kB / 353.6 MB, free: 1.383 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.1303, allocations: 92.12 kB / 353.6 MB, free: 1.289 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.108e-05/0.1303, allocations: 3.906 kB / 353.6 MB, free: 1.285 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.1303, allocations: 0 / 353.6 MB, free: 1.285 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1304, allocations: 314.8 kB / 354 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.976e-05/0.1304, allocations: 15.98 kB / 354 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-05/0.1305, allocations: 54.88 kB / 354 MB, free: 0.875 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.522e-05/0.1305, allocations: 23.92 kB / 354 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1305, allocations: 0 / 354 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001351/0.1307, allocations: 85.5 kB / 354.1 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1307, allocations: 8 kB / 354.1 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1307, allocations: 0 / 354.1 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1307, allocations: 4 kB / 354.1 MB, free: 0.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.657e-05/0.1308, allocations: 16.23 kB / 354.2 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1308, allocations: 8.188 kB / 354.2 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.641e-05/0.1309, allocations: 11.86 kB / 354.2 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1309, allocations: 7.938 kB / 354.2 MB, free: 0.707 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001142/0.131, allocations: 121.8 kB / 354.3 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.727e-05/0.1311, allocations: 69.59 kB / 354.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.703e-05/0.1311, allocations: 16.7 kB / 354.4 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1311, allocations: 0 / 354.4 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1312, allocations: 3.984 kB / 354.4 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1312, allocations: 4 kB / 354.4 MB, free: 488 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.1313, allocations: 177.5 kB / 354.6 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1313, allocations: 0 / 354.6 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-05/0.1314, allocations: 15.98 kB / 354.6 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1314, allocations: 3.938 kB / 354.6 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1314, allocations: 0 / 354.6 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1314, allocations: 0 / 354.6 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1314, allocations: 4 kB / 354.6 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.1315, allocations: 105 kB / 354.7 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.439e-05/0.1316, allocations: 101.2 kB / 354.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.1317, allocations: 0 / 354.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.864e-05/0.1317, allocations: 0 / 354.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-06/0.1317, allocations: 3.938 kB / 354.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.1317, allocations: 8 kB / 354.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001863/0.1319, allocations: 99.25 kB / 354.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1319, allocations: 0 / 354.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002018/0.1321, allocations: 12 kB / 354.9 MB, free: 15.87 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0005275/0.1326, allocations: 0.659 MB / 355.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.1328, allocations: 39.92 kB / 355.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1328, allocations: 0 / 355.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.1328, allocations: 0 / 355.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.1331, allocations: 45.38 kB / 355.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.1343, allocations: 1.562 MB / 357.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.1346, allocations: 0.7012 MB / 357.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.328e-05/0.1346, allocations: 0 / 357.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.1347, allocations: 19.44 kB / 357.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1347, allocations: 0 / 357.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/0.1478, allocations: 1.476 MB / 359.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003747/0.1483, allocations: 192.3 kB / 359.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/1.977, allocations: 0 / 359.6 MB, free: 11.14 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat