Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008883/0.0008883, allocations: 100.4 kB / 17 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009723/0.0009726, allocations: 192.3 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.561/1.561, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002593/0.0002596, allocations: 8 kB / 306.8 MB, free: 1.27 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1269, allocations: 51.49 MB / 358.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001831/0.1288, allocations: 1.125 MB / 359.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002232/0.1291, allocations: 47.84 kB / 359.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.034e-05/0.1292, allocations: 0 / 359.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.1292, allocations: 0 / 359.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.783e-05/0.1292, allocations: 0 / 359.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.1295, allocations: 31.66 kB / 359.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.102e-05/0.1296, allocations: 15.98 kB / 359.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.874e-05/0.1297, allocations: 11.98 kB / 359.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.798e-05/0.1298, allocations: 15.91 kB / 359.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.91e-05/0.1298, allocations: 11.94 kB / 359.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1299, allocations: 0 / 359.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.1299, allocations: 8 kB / 359.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.1299, allocations: 3.984 kB / 359.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.1299, allocations: 25.7 kB / 359.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.255e-05/0.13, allocations: 23.91 kB / 359.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.13, allocations: 3.938 kB / 359.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.13, allocations: 3.938 kB / 359.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1301, allocations: 0 / 359.6 MB, free: 12.45 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004244/0.1305, allocations: 335.5 kB / 360 MB, free: 12.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.1305, allocations: 12.03 kB / 360 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.934e-05/0.1306, allocations: 30.56 kB / 360 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.1306, allocations: 8 kB / 360 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.1308, allocations: 179 kB / 360.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.1309, allocations: 0 / 360.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.1309, allocations: 7.953 kB / 360.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.1313, allocations: 115.3 kB / 360.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1313, allocations: 0 / 360.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1313, allocations: 0 / 360.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1313, allocations: 4 kB / 360.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.805e-05/0.1314, allocations: 31.91 kB / 360.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.1316, allocations: 149.7 kB / 360.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.1317, allocations: 54.55 kB / 360.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.028e-05/0.1318, allocations: 24.92 kB / 360.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.1318, allocations: 0 / 360.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1319, allocations: 42.52 kB / 360.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1319, allocations: 0 / 360.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002502/0.1321, allocations: 73.61 kB / 360.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.1322, allocations: 55.41 kB / 360.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.667e-05/0.1323, allocations: 109.8 kB / 360.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.1323, allocations: 25.7 kB / 360.9 MB, free: 11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.1324, allocations: 80.14 kB / 360.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.1324, allocations: 4 kB / 360.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.1324, allocations: 3.938 kB / 360.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1325, allocations: 322.8 kB / 361.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.1325, allocations: 4 kB / 361.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.687e-05/0.1326, allocations: 31.69 kB / 361.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.778e-05/0.1326, allocations: 11.94 kB / 361.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1326, allocations: 0 / 361.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001017/0.1327, allocations: 65.62 kB / 361.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.1328, allocations: 10.45 kB / 361.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1328, allocations: 0 / 361.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1328, allocations: 4 kB / 361.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.879e-05/0.1329, allocations: 7.984 kB / 361.4 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1329, allocations: 0 / 361.4 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.1329, allocations: 3.938 kB / 361.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1329, allocations: 4 kB / 361.4 MB, free: 10.43 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.527e-05/0.133, allocations: 121.9 kB / 361.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.1331, allocations: 65.75 kB / 361.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.1332, allocations: 11.45 kB / 361.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1332, allocations: 0 / 361.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1332, allocations: 0 / 361.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1332, allocations: 4 kB / 361.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.1333, allocations: 157.6 kB / 361.8 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.1333, allocations: 4 kB / 361.8 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/0.1334, allocations: 0 / 361.8 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1334, allocations: 4 kB / 361.8 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1334, allocations: 4 kB / 361.8 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.1334, allocations: 7.891 kB / 361.8 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1334, allocations: 0 / 361.8 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.1336, allocations: 85.11 kB / 361.9 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.1337, allocations: 85 kB / 361.9 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.1337, allocations: 0 / 361.9 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.733e-05/0.1337, allocations: 4 kB / 361.9 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-06/0.1337, allocations: 7.953 kB / 362 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.1337, allocations: 3.938 kB / 362 MB, free: 9.766 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.537e-05/0.1338, allocations: 87.27 kB / 362 MB, free: 9.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1338, allocations: 0 / 362 MB, free: 9.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001832/0.134, allocations: 4 kB / 362 MB, free: 9.676 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005305/0.1345, allocations: 0.6438 MB / 362.7 MB, free: 9.004 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.1346, allocations: 27.92 kB / 362.7 MB, free: 8.977 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1346, allocations: 0 / 362.7 MB, free: 8.977 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.22e-07/0.1347, allocations: 0 / 362.7 MB, free: 8.977 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.1349, allocations: 31.42 kB / 362.7 MB, free: 8.949 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006121/0.1355, allocations: 393.2 kB / 363.1 MB, free: 8.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.1358, allocations: 0.6809 MB / 363.8 MB, free: 7.793 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.791e-05/0.1358, allocations: 3.984 kB / 363.8 MB, free: 7.789 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.1358, allocations: 11.44 kB / 363.8 MB, free: 7.777 MB / 302.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1358, allocations: 4 kB / 363.8 MB, free: 7.773 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01082/0.1467, allocations: 1.079 MB / 364.9 MB, free: 6.871 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.1469, allocations: 210.2 kB / 365.1 MB, free: 6.625 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.09, allocations: 4 kB / 365.1 MB, free: 6.621 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat