Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009882/0.0009882, allocations: 198.4 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.623/1.623, allocations: 225.6 MB / 234.8 MB, free: 3.191 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001015/0.001015, allocations: 96.47 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.073e-05/3.046e-05, allocations: 7.984 kB / 343.8 MB, free: 8.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1042, allocations: 51.47 MB / 395.3 MB, free: 4.625 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4184/0.5227, allocations: 76.14 MB / 471.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.5229, allocations: 70.88 kB / 471.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001852/0.5248, allocations: 0.783 MB / 472.3 MB, free: 14.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5248, allocations: 0 / 472.3 MB, free: 14.24 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.5248, allocations: 0 / 472.3 MB, free: 14.24 MB / 346.7 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.0002743/0.5251, allocations: 331.2 kB / 472.6 MB, free: 13.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.5252, allocations: 12.03 kB / 472.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.5252, allocations: 2.812 kB / 472.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.5254, allocations: 172.9 kB / 472.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.5254, allocations: 4.859 kB / 472.8 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.5254, allocations: 7.734 kB / 472.8 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.122e-05/0.5255, allocations: 15.86 kB / 472.8 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.5257, allocations: 92.14 kB / 472.9 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.5257, allocations: 0 / 472.9 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.5257, allocations: 0.9688 kB / 472.9 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5257, allocations: 4.734 kB / 472.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.639e-05/0.5258, allocations: 139.8 kB / 473 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.624e-05/0.5259, allocations: 34.67 kB / 473.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.5259, allocations: 16.36 kB / 473.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.526, allocations: 7.812 kB / 473.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.526, allocations: 35.31 kB / 473.1 MB, free: 13.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.526, allocations: 3.938 kB / 473.1 MB, free: 13.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001239/0.5261, allocations: 52.41 kB / 473.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.5262, allocations: 56.02 kB / 473.2 MB, free: 13.19 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.797e-05/0.5262, allocations: 94.14 kB / 473.3 MB, free: 13.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.5262, allocations: 29.7 kB / 473.3 MB, free: 13.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.977e-05/0.5263, allocations: 84.08 kB / 473.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.089e-05/0.5263, allocations: 0.75 kB / 473.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.5263, allocations: 0 / 473.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.699e-05/0.5263, allocations: 316.4 kB / 473.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.133e-05/0.5264, allocations: 7.75 kB / 473.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/0.5264, allocations: 32.44 kB / 473.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.024e-05/0.5264, allocations: 4.609 kB / 473.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5264, allocations: 4.562 kB / 473.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.956e-05/0.5265, allocations: 60.34 kB / 473.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.5265, allocations: 4 kB / 473.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5265, allocations: 0.75 kB / 473.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.5266, allocations: 4 kB / 473.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.487e-05/0.5266, allocations: 9.219 kB / 473.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.5266, allocations: 8.047 kB / 473.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.5267, allocations: 0.6562 kB / 473.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.5267, allocations: 4 kB / 473.9 MB, free: 12.53 MB / 346.7 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 () * 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 4.324e-05/0.5267, allocations: 104.9 kB / 474 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.726e-05/0.5268, allocations: 56.45 kB / 474 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-06/0.5268, allocations: 4.703 kB / 474 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.5268, allocations: 8.812 kB / 474 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5268, allocations: 3.125 kB / 474 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5268, allocations: 4 kB / 474.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5268, allocations: 0.5625 kB / 474.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.471e-05/0.5269, allocations: 135.4 kB / 474.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5269, allocations: 4 kB / 474.2 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.527, allocations: 10.62 kB / 474.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.527, allocations: 1.969 kB / 474.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.527, allocations: 4.516 kB / 474.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.527, allocations: 0 / 474.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.527, allocations: 3.953 kB / 474.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.921e-05/0.5271, allocations: 76.36 kB / 474.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.731e-05/0.5271, allocations: 81.02 kB / 474.4 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.5271, allocations: 0 / 474.4 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.722e-05/0.5272, allocations: 6.016 kB / 474.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-06/0.5272, allocations: 144 / 474.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.5272, allocations: 4 kB / 474.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.265e-05/0.5272, allocations: 87.12 kB / 474.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5272, allocations: 0 / 474.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002018/0.5274, allocations: 4 kB / 474.5 MB, free: 11.9 MB / 346.7 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 () * 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.0002478/0.5277, allocations: 0.6219 MB / 475.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.99e-05/0.5278, allocations: 27.69 kB / 475.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.5278, allocations: 0 / 475.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.5278, allocations: 0 / 475.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.528, allocations: 13.19 kB / 475.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/0.5282, allocations: 106.8 kB / 475.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.5283, allocations: 0.683 MB / 475.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.837e-05/0.5284, allocations: 5.703 kB / 475.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.5284, allocations: 15.98 kB / 475.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5284, allocations: 0 / 475.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.5492, allocations: 0.8161 MB / 476.7 MB, free: 9.945 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.5495, allocations: 163 kB / 476.9 MB, free: 9.75 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.465/2.014, allocations: 1.5 kB / 476.9 MB, free: 9.75 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat