Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.|step1.y|step2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.|step1.y|step2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 181.4 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.2 MB / 219 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008267/0.0008267, allocations: 94.55 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07594/0.07594, allocations: 12.59 MB / 327.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.08e-05/3.093e-05, allocations: 4 kB / 386 MB, free: 69.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08151/0.08156, allocations: 50.37 MB / 436.4 MB, free: 19.22 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3094/0.3911, allocations: 77.57 MB / 0.5019 GB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.3914, allocations: 80.47 kB / 0.502 GB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002775/0.3942, allocations: 1.179 MB / 0.5031 GB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3942, allocations: 0 / 0.5031 GB, free: 11.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.3942, allocations: 0 / 0.5031 GB, free: 11.62 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002344/0.3945, allocations: 347.8 kB / 0.5035 GB, free: 11.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3945, allocations: 7.594 kB / 0.5035 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.3946, allocations: 7.656 kB / 0.5035 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.3947, allocations: 195.3 kB / 0.5037 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.3947, allocations: 3.875 kB / 0.5037 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.3948, allocations: 3.953 kB / 0.5037 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.395, allocations: 114.3 kB / 0.5038 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.395, allocations: 0 / 0.5038 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.395, allocations: 7.812 kB / 0.5038 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3951, allocations: 0 / 0.5038 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.725e-05/0.3951, allocations: 21.95 kB / 0.5038 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.3955, allocations: 368.8 kB / 0.5042 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.272e-05/0.3956, allocations: 62.98 kB / 0.5042 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/0.3956, allocations: 29.48 kB / 0.5042 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.3956, allocations: 0 / 0.5042 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.3957, allocations: 42.31 kB / 0.5043 GB, free: 10.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.3957, allocations: 0 / 0.5043 GB, free: 10.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001916/0.3959, allocations: 69.83 kB / 0.5044 GB, free: 10.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.3959, allocations: 109.8 kB / 0.5045 GB, free: 10.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.436e-05/0.396, allocations: 134.4 kB / 0.5046 GB, free: 10.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/0.3961, allocations: 25.7 kB / 0.5046 GB, free: 10.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.3961, allocations: 83.45 kB / 0.5047 GB, free: 10.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.031e-05/0.3961, allocations: 11.84 kB / 0.5047 GB, free: 10.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.3961, allocations: 0 / 0.5047 GB, free: 10.08 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.053e-05/0.3962, allocations: 317 kB / 0.505 GB, free: 9.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.628e-05/0.3962, allocations: 11.19 kB / 0.505 GB, free: 9.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.016e-05/0.3962, allocations: 32.53 kB / 0.505 GB, free: 9.734 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.396e-05/0.3963, allocations: 18.97 kB / 0.5051 GB, free: 9.727 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3963, allocations: 0 / 0.5051 GB, free: 9.727 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.218e-05/0.3963, allocations: 64.61 kB / 0.5051 GB, free: 9.688 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.3964, allocations: 7.688 kB / 0.5051 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3964, allocations: 0 / 0.5051 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.3964, allocations: 0 / 0.5051 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.597e-05/0.3964, allocations: 4.719 kB / 0.5051 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3964, allocations: 3.938 kB / 0.5051 GB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.139e-05/0.3965, allocations: 11.02 kB / 0.5052 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3965, allocations: 3.844 kB / 0.5052 GB, free: 9.68 MB / 330.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: 4 (sample.u[1],sample.u[2],sample.y[2],sample.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 4.039e-05/0.3965, allocations: 112.6 kB / 0.5053 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.3966, allocations: 47.86 kB / 0.5053 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.3966, allocations: 13.77 kB / 0.5053 GB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3967, allocations: 0 / 0.5053 GB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3967, allocations: 4 kB / 0.5053 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3967, allocations: 32 / 0.5053 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.3968, allocations: 171 kB / 0.5055 GB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3969, allocations: 7.797 kB / 0.5055 GB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.318e-06/0.3969, allocations: 6.609 kB / 0.5055 GB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3969, allocations: 0 / 0.5055 GB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.3969, allocations: 7.406 kB / 0.5055 GB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3969, allocations: 0 / 0.5055 GB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3969, allocations: 0 / 0.5055 GB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.397, allocations: 264.8 kB / 0.5058 GB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.3971, allocations: 93.55 kB / 0.5059 GB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.3971, allocations: 3.844 kB / 0.5059 GB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.459e-05/0.3972, allocations: 6.469 kB / 0.5059 GB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.3972, allocations: 3.25 kB / 0.5059 GB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.3972, allocations: 3.844 kB / 0.5059 GB, free: 8.977 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.093e-05/0.3973, allocations: 114.4 kB / 0.506 GB, free: 8.895 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3973, allocations: 0 / 0.506 GB, free: 8.895 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.3975, allocations: 7.688 kB / 0.506 GB, free: 8.895 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample.u[1],sample.u[2],sample.y[1],sample.y[2]) * 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 6.615e-05/0.3976, allocations: 96.17 kB / 0.5061 GB, free: 8.809 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.05e-05/0.3977, allocations: 32.47 kB / 0.5061 GB, free: 8.805 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3977, allocations: 3.938 kB / 0.5061 GB, free: 8.801 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.759e-05/0.3977, allocations: 8.156 kB / 0.5061 GB, free: 8.797 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.398, allocations: 22.7 kB / 0.5061 GB, free: 8.793 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002048/0.3982, allocations: 127.4 kB / 0.5063 GB, free: 8.691 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.3983, allocations: 0.6982 MB / 0.5069 GB, free: 7.996 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.311e-05/0.3984, allocations: 10.41 kB / 0.507 GB, free: 7.996 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.083e-05/0.3984, allocations: 7.594 kB / 0.507 GB, free: 7.992 MB / 330.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3984, allocations: 4 kB / 0.507 GB, free: 7.988 MB / 330.7 MB Notification: Performance of Templates: time 0.002185/0.4006, allocations: 0.5401 MB / 0.5075 GB, free: 7.922 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches