Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001868/0.001867, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009764/0.0009764, allocations: 91.53 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002925, allocations: 8 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2777, allocations: 50.39 MB / 401.6 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0998/0.3775, allocations: 76.78 MB / 478.4 MB, free: 3.703 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.3778, allocations: 75.95 kB / 478.4 MB, free: 3.629 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004443/0.3823, allocations: 1.605 MB / 480 MB, free: 2.027 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3823, allocations: 0 / 480 MB, free: 2.027 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.3824, allocations: 4 kB / 480 MB, free: 2.023 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.0004535/0.3828, allocations: 382.9 kB / 480.4 MB, free: 1.602 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.3829, allocations: 8.031 kB / 480.4 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.286e-05/0.3829, allocations: 45.11 kB / 480.5 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.383, allocations: 7.906 kB / 480.5 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.3832, allocations: 198 kB / 480.7 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.3833, allocations: 8 kB / 480.7 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.3833, allocations: 15.94 kB / 480.7 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004248/0.3837, allocations: 217.9 kB / 480.9 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.3837, allocations: 0 / 480.9 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.3838, allocations: 4 kB / 480.9 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3838, allocations: 3.938 kB / 480.9 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.713e-05/0.3838, allocations: 37.81 kB / 480.9 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.384, allocations: 189.6 kB / 481.1 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.3843, allocations: 122.8 kB / 481.3 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.3843, allocations: 4 kB / 481.3 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.3843, allocations: 38.5 kB / 481.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.3843, allocations: 4 kB / 481.3 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003353/0.3847, allocations: 149.9 kB / 481.4 MB, free: 456 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.3847, allocations: 63.39 kB / 481.5 MB, free: 380 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.3849, allocations: 133.1 kB / 481.6 MB, free: 236 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.3849, allocations: 29.7 kB / 481.7 MB, free: 200 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.385, allocations: 84.47 kB / 481.7 MB, free: 108 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.385, allocations: 11.98 kB / 481.8 MB, free: 96 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.385, allocations: 0 / 481.8 MB, free: 96 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3851, allocations: 326.8 kB / 482.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.567e-05/0.3852, allocations: 20 kB / 482.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.3853, allocations: 117.7 kB / 482.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.351e-05/0.3854, allocations: 43.94 kB / 482.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3854, allocations: 3.938 kB / 482.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002212/0.3856, allocations: 149.7 kB / 482.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.3856, allocations: 12 kB / 482.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.3857, allocations: 7.984 kB / 482.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3857, allocations: 4 kB / 482.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.317e-05/0.3857, allocations: 15.94 kB / 482.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.3857, allocations: 4 kB / 482.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.548e-05/0.3858, allocations: 8 kB / 482.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.3858, allocations: 12 kB / 482.5 MB, free: 15.32 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.0001318/0.386, allocations: 146.2 kB / 482.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.3861, allocations: 121.5 kB / 482.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.238e-05/0.3862, allocations: 13.19 kB / 482.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.3862, allocations: 4 kB / 482.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3862, allocations: 0 / 482.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3862, allocations: 3.984 kB / 482.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.3863, allocations: 185.6 kB / 482.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3864, allocations: 0 / 482.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-05/0.3864, allocations: 4 kB / 482.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3864, allocations: 3.938 kB / 482.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3864, allocations: 8 kB / 482.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3864, allocations: 0 / 482.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3864, allocations: 4 kB / 483 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.3866, allocations: 148.3 kB / 483.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.128e-05/0.3867, allocations: 104.9 kB / 483.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.3867, allocations: 0 / 483.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.52e-05/0.3868, allocations: 7.984 kB / 483.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-06/0.3868, allocations: 4 kB / 483.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.3868, allocations: 0 / 483.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.262e-05/0.3869, allocations: 113.4 kB / 483.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3869, allocations: 0 / 483.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.3871, allocations: 16 kB / 483.3 MB, free: 14.36 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.0006322/0.3877, allocations: 0.7451 MB / 484.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.3879, allocations: 87.78 kB / 484.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3879, allocations: 0 / 484.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.3879, allocations: 0 / 484.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.3883, allocations: 83.92 kB / 484.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.3903, allocations: 2.931 MB / 487.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.3906, allocations: 0.7243 MB / 487.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.516e-05/0.3907, allocations: 8.641 kB / 487.9 MB, free: 9.613 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.705e-05/0.3907, allocations: 23.44 kB / 487.9 MB, free: 9.59 MB / 362.7 MB Notification: Performance of SimCode: time 4.2e-07/0.3907, allocations: 0 / 487.9 MB, free: 9.59 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.4044, allocations: 2.103 MB / 490 MB, free: 7.664 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.4046, allocations: 199.8 kB / 490.2 MB, free: 7.43 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/2.091, allocations: 4.062 kB / 490.2 MB, free: 7.426 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat