Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.001035/0.001035, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.193/1.193, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008154/0.0008154, allocations: 96.11 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002044/0.0002044, allocations: 7.984 kB / 358 MB, free: 9.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1793, allocations: 51.47 MB / 409.5 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08319/0.2626, allocations: 77.57 MB / 487.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.2628, allocations: 75.95 kB / 487.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003822/0.2667, allocations: 1.607 MB / 488.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2667, allocations: 6.375 kB / 488.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.2667, allocations: 4 kB / 488.8 MB, free: 11.35 MB / 362.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.0003422/0.267, allocations: 383 kB / 489.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2671, allocations: 8.031 kB / 489.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.2671, allocations: 38.56 kB / 489.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.2672, allocations: 7.906 kB / 489.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.2674, allocations: 191 kB / 489.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.2674, allocations: 11.95 kB / 489.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.2674, allocations: 19.88 kB / 489.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.2678, allocations: 205.1 kB / 489.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2678, allocations: 7.953 kB / 489.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.2678, allocations: 0 / 489.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2678, allocations: 4 kB / 489.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.116e-05/0.2679, allocations: 41.8 kB / 489.7 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.2681, allocations: 177.6 kB / 489.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.2683, allocations: 131 kB / 490 MB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-06/0.2683, allocations: 0 / 490 MB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.2683, allocations: 42.5 kB / 490 MB, free: 9.938 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.002e-06/0.2683, allocations: 0 / 490 MB, free: 9.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002661/0.2686, allocations: 151.3 kB / 490.2 MB, free: 9.785 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.2687, allocations: 59.41 kB / 490.2 MB, free: 9.715 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.2688, allocations: 133.1 kB / 490.3 MB, free: 9.574 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.2688, allocations: 29.7 kB / 490.4 MB, free: 9.539 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.2688, allocations: 88.47 kB / 490.5 MB, free: 9.445 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.2689, allocations: 11.98 kB / 490.5 MB, free: 9.434 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.2689, allocations: 0 / 490.5 MB, free: 9.434 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.269, allocations: 322.8 kB / 490.8 MB, free: 9.109 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.169e-05/0.269, allocations: 15.98 kB / 490.8 MB, free: 9.094 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.223e-05/0.2691, allocations: 127.5 kB / 490.9 MB, free: 8.926 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.834e-05/0.2692, allocations: 43.92 kB / 491 MB, free: 8.883 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2692, allocations: 0 / 491 MB, free: 8.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001985/0.2694, allocations: 153.2 kB / 491.1 MB, free: 8.727 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2694, allocations: 8 kB / 491.1 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2694, allocations: 4 kB / 491.1 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.2694, allocations: 4 kB / 491.1 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.926e-05/0.2695, allocations: 19.94 kB / 491.2 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.2695, allocations: 12.44 kB / 491.2 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/0.2695, allocations: 8 kB / 491.2 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.2696, allocations: 8 kB / 491.2 MB, free: 8.664 MB / 362.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 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * 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 0.0001057/0.2697, allocations: 145.6 kB / 491.3 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.2698, allocations: 121.5 kB / 491.4 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.2699, allocations: 17.17 kB / 491.5 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2699, allocations: 7.938 kB / 491.5 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2699, allocations: 0 / 491.5 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.2699, allocations: 3.953 kB / 491.5 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.27, allocations: 185.6 kB / 491.6 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.27, allocations: 0 / 491.6 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.791e-05/0.27, allocations: 4 kB / 491.7 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2701, allocations: 0 / 491.7 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.2701, allocations: 4 kB / 491.7 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2701, allocations: 0 / 491.7 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2701, allocations: 4 kB / 491.7 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.2703, allocations: 148.9 kB / 491.8 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.781e-05/0.2703, allocations: 104.9 kB / 491.9 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.2704, allocations: 0 / 491.9 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.027e-05/0.2704, allocations: 4 kB / 491.9 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-06/0.2704, allocations: 0 / 491.9 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.2704, allocations: 7.984 kB / 491.9 MB, free: 7.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.687e-05/0.2705, allocations: 103.3 kB / 492 MB, free: 7.719 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2705, allocations: 0 / 492 MB, free: 7.719 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002099/0.2707, allocations: 16 kB / 492 MB, free: 7.703 MB / 362.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,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * 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.0005366/0.2713, allocations: 0.7514 MB / 492.8 MB, free: 6.922 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.2714, allocations: 91.89 kB / 492.9 MB, free: 6.836 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2714, allocations: 0 / 492.9 MB, free: 6.836 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.2714, allocations: 4.188 kB / 492.9 MB, free: 6.832 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.2717, allocations: 90.05 kB / 493 MB, free: 6.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.2733, allocations: 2.927 MB / 495.9 MB, free: 3.707 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.2735, allocations: 0.7204 MB / 496.6 MB, free: 2.961 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.852e-05/0.2736, allocations: 4.656 kB / 496.6 MB, free: 2.957 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.2736, allocations: 23.42 kB / 496.6 MB, free: 2.934 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2736, allocations: 8 kB / 496.7 MB, free: 2.926 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01229/0.2859, allocations: 2.097 MB / 498.7 MB, free: 1.004 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.2862, allocations: 203.5 kB / 498.9 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/1.801, allocations: 8 kB / 499 MB, free: 0.7539 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat