Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001022/0.001022, allocations: 94.75 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.001201/0.001201, 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.44/1.44, allocations: 227.3 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002847/0.0002848, allocations: 12 kB / 306.7 MB, free: 1.504 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 51.49 MB / 358.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.00142/0.1355, allocations: 0.6503 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004118/0.136, allocations: 115.6 kB / 359 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.1361, allocations: 7.875 kB / 359 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.046e-05/0.1362, allocations: 0 / 359 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.1363, allocations: 15.92 kB / 359 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.1366, allocations: 31.97 kB / 359 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.143e-05/0.1367, allocations: 27.91 kB / 359 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1368, allocations: 20.16 kB / 359.1 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.82e-05/0.1369, allocations: 11.92 kB / 359.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.216e-05/0.137, allocations: 11.92 kB / 359.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.137, allocations: 0 / 359.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.394e-05/0.137, allocations: 8 kB / 359.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.149e-05/0.137, allocations: 11.94 kB / 359.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.897e-05/0.1371, allocations: 37.64 kB / 359.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.971e-05/0.1372, allocations: 31.94 kB / 359.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1372, allocations: 0 / 359.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1372, allocations: 0 / 359.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1372, allocations: 0 / 359.2 MB, free: 13.04 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004672/0.1377, allocations: 367.2 kB / 359.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.1377, allocations: 19.95 kB / 359.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.897e-05/0.1378, allocations: 34.56 kB / 359.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.1379, allocations: 11.91 kB / 359.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.1381, allocations: 183 kB / 359.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.1382, allocations: 3.938 kB / 359.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.1382, allocations: 7.953 kB / 359.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.1385, allocations: 123.3 kB / 359.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1386, allocations: 3.984 kB / 359.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.1386, allocations: 8 kB / 359.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1386, allocations: 3.938 kB / 359.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.637e-05/0.1387, allocations: 12 kB / 359.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002137/0.1389, allocations: 173.6 kB / 360.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.139, allocations: 70.61 kB / 360.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.1391, allocations: 4 kB / 360.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.1391, allocations: 34.56 kB / 360.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.1391, allocations: 0 / 360.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002748/0.1394, allocations: 89.72 kB / 360.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.246e-05/0.1395, allocations: 59.72 kB / 360.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.1397, allocations: 136.5 kB / 360.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.1397, allocations: 29.7 kB / 360.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.1398, allocations: 84.14 kB / 360.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.1398, allocations: 3.906 kB / 360.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.1398, allocations: 12 kB / 360.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.14, allocations: 314.8 kB / 360.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.14, allocations: 8 kB / 360.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.203e-05/0.1401, allocations: 54.86 kB / 361 MB, free: 10.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.945e-05/0.1401, allocations: 23.94 kB / 361 MB, free: 10.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1401, allocations: 0 / 361 MB, free: 10.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001298/0.1403, allocations: 89.7 kB / 361.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.1403, allocations: 11.98 kB / 361.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1403, allocations: 4 kB / 361.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.1403, allocations: 4 kB / 361.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.385e-05/0.1404, allocations: 12 kB / 361.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.1404, allocations: 3.984 kB / 361.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.1406, allocations: 7.906 kB / 361.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.1406, allocations: 8 kB / 361.2 MB, free: 10.81 MB / 302.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.0001211/0.1407, allocations: 126 kB / 361.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.1408, allocations: 77.55 kB / 361.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.674e-05/0.1409, allocations: 16.66 kB / 361.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.1409, allocations: 0 / 361.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.1409, allocations: 4 kB / 361.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1409, allocations: 0 / 361.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.1411, allocations: 173.6 kB / 361.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1411, allocations: 4 kB / 361.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.689e-05/0.1412, allocations: 8 kB / 361.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1412, allocations: 7.875 kB / 361.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.1412, allocations: 11.95 kB / 361.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1412, allocations: 0 / 361.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1412, allocations: 4 kB / 361.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.1414, allocations: 97.02 kB / 361.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.1415, allocations: 93 kB / 361.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.1415, allocations: 3.984 kB / 361.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.823e-05/0.1415, allocations: 11.95 kB / 361.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-06/0.1415, allocations: 0 / 361.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1415, allocations: 0 / 361.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.25e-05/0.1416, allocations: 105.8 kB / 361.9 MB, free: 9.977 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1416, allocations: 4 kB / 361.9 MB, free: 9.973 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.1418, allocations: 8 kB / 361.9 MB, free: 9.965 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.0005778/0.1424, allocations: 0.6475 MB / 362.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.1425, allocations: 48.3 kB / 362.6 MB, free: 9.242 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1426, allocations: 0 / 362.6 MB, free: 9.242 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.22e-07/0.1426, allocations: 0 / 362.6 MB, free: 9.242 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.1429, allocations: 43.91 kB / 362.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.1441, allocations: 1.548 MB / 364.2 MB, free: 7.566 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.1444, allocations: 0.6976 MB / 364.9 MB, free: 6.844 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.299e-05/0.1445, allocations: 11.95 kB / 364.9 MB, free: 6.832 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.1445, allocations: 23.42 kB / 364.9 MB, free: 6.809 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1446, allocations: 3.938 kB / 364.9 MB, free: 6.805 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01421/0.1588, allocations: 1.469 MB / 366.4 MB, free: 5.484 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002576/0.1591, allocations: 197 kB / 366.6 MB, free: 5.242 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/2.088, allocations: 0 / 366.6 MB, free: 5.242 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat