Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00126/0.00126, allocations: 109.6 kB / 18.3 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001294, allocations: 208.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.479/1.479, allocations: 227.7 MB / 247.7 MB, free: 10.35 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 64.19 kB / 307.9 MB, free: 0.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1026, allocations: 50.53 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002912/0.1055, allocations: 1.515 MB / 359.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003713/0.1059, allocations: 145.2 kB / 360.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.106, allocations: 0 / 360.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.508e-05/0.1061, allocations: 11.88 kB / 360.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.835e-05/0.1062, allocations: 11.92 kB / 360.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.1064, allocations: 39.28 kB / 360.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.226e-05/0.1065, allocations: 39.86 kB / 360.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1066, allocations: 19.97 kB / 360.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.707e-05/0.1066, allocations: 15.94 kB / 360.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.548e-05/0.1067, allocations: 19.91 kB / 360.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.1067, allocations: 4 kB / 360.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.1067, allocations: 7.938 kB / 360.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.962e-05/0.1068, allocations: 19.92 kB / 360.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.1068, allocations: 23.81 kB / 360.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.954e-05/0.1069, allocations: 51.8 kB / 360.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1069, allocations: 0 / 360.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1069, allocations: 3.938 kB / 360.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.107, allocations: 0 / 360.4 MB, free: 12.02 MB / 302.1 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.0004764/0.1074, allocations: 374 kB / 360.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1075, allocations: 8.031 kB / 360.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.1075, allocations: 8.844 kB / 360.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.1077, allocations: 193.9 kB / 360.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.1077, allocations: 4.375 kB / 360.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.1078, allocations: 384 / 360.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.108, allocations: 122.5 kB / 361 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.108, allocations: 192 / 361 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.1081, allocations: 15.92 kB / 361.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.1081, allocations: 4 kB / 361.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.503e-05/0.1082, allocations: 27.92 kB / 361.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.1086, allocations: 369.8 kB / 361.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.1087, allocations: 79.72 kB / 361.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.64e-05/0.1088, allocations: 38.61 kB / 361.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.1088, allocations: 0 / 361.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.1089, allocations: 38.5 kB / 361.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1089, allocations: 0 / 361.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002878/0.1092, allocations: 97.5 kB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/0.1093, allocations: 110.8 kB / 361.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.1094, allocations: 136.9 kB / 361.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.1094, allocations: 33.64 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.1095, allocations: 88.12 kB / 362.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.1095, allocations: 7.906 kB / 362.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.1095, allocations: 17.72 kB / 362.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1097, allocations: 322.8 kB / 362.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.158e-05/0.1097, allocations: 4 kB / 362.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-05/0.1098, allocations: 43.42 kB / 362.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.1099, allocations: 59.28 kB / 362.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1099, allocations: 0 / 362.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001441/0.1101, allocations: 73.53 kB / 362.6 MB, free: 9.492 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1101, allocations: 4 kB / 362.6 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1101, allocations: 11.92 kB / 362.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1101, allocations: 0 / 362.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-05/0.1101, allocations: 0 / 362.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1101, allocations: 4 kB / 362.6 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.273e-05/0.1102, allocations: 0 / 362.6 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1102, allocations: 4 kB / 362.6 MB, free: 9.469 MB / 302.1 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 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.1103, allocations: 129.9 kB / 362.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.838e-05/0.1104, allocations: 49.59 kB / 362.8 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.1104, allocations: 15.77 kB / 362.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.1105, allocations: 4 kB / 362.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1105, allocations: 0 / 362.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1105, allocations: 4 kB / 362.8 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.1107, allocations: 173.6 kB / 363 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1107, allocations: 0 / 363 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-06/0.1107, allocations: 3.984 kB / 363 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1107, allocations: 0 / 363 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1108, allocations: 12.02 kB / 363 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1108, allocations: 0 / 363 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1108, allocations: 0 / 363 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.111, allocations: 259.5 kB / 363.2 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.1111, allocations: 89.09 kB / 363.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.1111, allocations: 8 kB / 363.3 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.658e-05/0.1112, allocations: 0 / 363.3 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.1113, allocations: 11.98 kB / 363.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.1113, allocations: 0 / 363.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.437e-05/0.1113, allocations: 111.1 kB / 363.5 MB, free: 8.508 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1114, allocations: 3.938 kB / 363.5 MB, free: 8.504 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.1116, allocations: 8 kB / 363.5 MB, free: 8.496 MB / 302.1 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 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001105/0.1117, allocations: 111.2 kB / 363.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.1119, allocations: 35.92 kB / 363.6 MB, free: 8.344 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1119, allocations: 0 / 363.6 MB, free: 8.344 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.728e-05/0.1119, allocations: 15.98 kB / 363.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.1123, allocations: 31.95 kB / 363.7 MB, free: 8.297 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.1127, allocations: 209.2 kB / 363.9 MB, free: 8.055 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.113, allocations: 0.6924 MB / 364.6 MB, free: 7.336 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.113, allocations: 11.44 kB / 364.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.113, allocations: 0 / 364.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of Templates: time 0.002316/0.1154, allocations: 0.8065 MB / 365.4 MB, free: 6.52 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches