Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.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.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001747/0.001747, allocations: 198.2 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.428/1.428, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008214/0.0008216, allocations: 104.2 kB / 286.7 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.806e-05/1.823e-05, allocations: 4 kB / 343.8 MB, free: 8.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1187, allocations: 51.47 MB / 395.3 MB, free: 4.652 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3422/0.4609, allocations: 76.87 MB / 472.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.4612, allocations: 78.81 kB / 472.2 MB, free: 14.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004287/0.4655, allocations: 1.715 MB / 473.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4655, allocations: 0 / 473.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.4655, allocations: 13.91 kB / 473.9 MB, free: 13.36 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002813/0.4658, allocations: 379.1 kB / 474.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.4658, allocations: 8.031 kB / 474.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.4659, allocations: 16.38 kB / 474.3 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.4661, allocations: 202.4 kB / 474.5 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.4661, allocations: 4 kB / 474.5 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.4661, allocations: 7.609 kB / 474.5 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001252/0.4663, allocations: 52.34 kB / 474.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.4666, allocations: 204.2 kB / 474.8 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.4666, allocations: 0 / 474.8 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.4666, allocations: 0 / 474.8 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.4667, allocations: 4 kB / 474.8 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.4668, allocations: 161.5 kB / 474.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.467, allocations: 138.9 kB / 475.1 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.4671, allocations: 80.42 kB / 475.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.4672, allocations: 4 kB / 475.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.4672, allocations: 35.3 kB / 475.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.193e-06/0.4672, allocations: 0 / 475.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002221/0.4674, allocations: 122 kB / 475.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.4675, allocations: 66.72 kB / 475.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.4676, allocations: 147.8 kB / 475.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.4676, allocations: 25.7 kB / 475.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.599e-05/0.4676, allocations: 89.38 kB / 475.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.4677, allocations: 9.969 kB / 475.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.4677, allocations: 0 / 475.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.446e-05/0.4677, allocations: 325.1 kB / 476 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.172e-05/0.4678, allocations: 20.67 kB / 476 MB, free: 11.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.564e-05/0.4678, allocations: 113 kB / 476.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.913e-05/0.4679, allocations: 47.66 kB / 476.1 MB, free: 11.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.4679, allocations: 0 / 476.1 MB, free: 11.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000192/0.4681, allocations: 131.5 kB / 476.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.4681, allocations: 12.09 kB / 476.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4682, allocations: 4.656 kB / 476.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4682, allocations: 4 kB / 476.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.4683, allocations: 34.59 kB / 476.3 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.4683, allocations: 9.391 kB / 476.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.828e-05/0.4684, allocations: 11.84 kB / 476.4 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.4684, allocations: 14.38 kB / 476.4 MB, free: 11.05 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 7.26e-05/0.4685, allocations: 129.3 kB / 476.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001487/0.4686, allocations: 117.3 kB / 476.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.4687, allocations: 15.61 kB / 476.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.4687, allocations: 19.2 kB / 476.6 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4687, allocations: 4 kB / 476.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-06/0.4687, allocations: 4.562 kB / 476.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4687, allocations: 0.9844 kB / 476.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.826e-05/0.4688, allocations: 159 kB / 476.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4688, allocations: 0 / 476.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.469, allocations: 27.64 kB / 476.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.469, allocations: 4.844 kB / 476.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.469, allocations: 4 kB / 476.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.469, allocations: 0 / 476.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.469, allocations: 4.688 kB / 476.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.4692, allocations: 158.5 kB / 477 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.4693, allocations: 100.2 kB / 477.1 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.4693, allocations: 0.5156 kB / 477.1 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.333e-05/0.4693, allocations: 1.125 kB / 477.1 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-06/0.4693, allocations: 4 kB / 477.1 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.4694, allocations: 9.672 kB / 477.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.461e-05/0.4694, allocations: 114.9 kB / 477.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4694, allocations: 0 / 477.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002852/0.4697, allocations: 12 kB / 477.2 MB, free: 10.23 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: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0004531/0.4702, allocations: 0.7545 MB / 478 MB, free: 9.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.4703, allocations: 83.06 kB / 478.1 MB, free: 9.461 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4704, allocations: 0 / 478.1 MB, free: 9.461 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.4704, allocations: 0 / 478.1 MB, free: 9.461 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.4707, allocations: 83.7 kB / 478.2 MB, free: 9.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.4712, allocations: 225.2 kB / 478.4 MB, free: 9.199 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.4713, allocations: 0.7201 MB / 479.1 MB, free: 8.469 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.941e-05/0.4714, allocations: 11.66 kB / 479.1 MB, free: 8.457 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.4714, allocations: 28.81 kB / 479.1 MB, free: 8.445 MB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4714, allocations: 0 / 479.1 MB, free: 8.445 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.4977, allocations: 1.961 MB / 481.1 MB, free: 7.316 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.4979, allocations: 165.6 kB / 481.3 MB, free: 7.129 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/2.03, allocations: 0 / 481.3 MB, free: 7.129 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat