Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) 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) 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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008299/0.0008301, allocations: 93.67 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009607/0.0009608, allocations: 202.2 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.7 MB / 247.5 MB, free: 11.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.0002981, allocations: 8 kB / 308.4 MB, free: 0.7578 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1112, allocations: 51.52 MB / 359.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001689/0.113, allocations: 1.235 MB / 361.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003358/0.1133, allocations: 155.5 kB / 361.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.1134, allocations: 0 / 361.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.356e-05/0.1135, allocations: 3.938 kB / 361.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.129e-05/0.1136, allocations: 4 kB / 361.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.1138, allocations: 35.91 kB / 361.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.615e-05/0.1139, allocations: 47.78 kB / 361.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.114, allocations: 15.98 kB / 361.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.1141, allocations: 15.92 kB / 361.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.134e-05/0.1141, allocations: 11.94 kB / 361.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1141, allocations: 0 / 361.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.1142, allocations: 0 / 361.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.62e-05/0.1142, allocations: 15.92 kB / 361.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.1143, allocations: 53.5 kB / 361.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.975e-05/0.1143, allocations: 23.94 kB / 361.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1144, allocations: 4 kB / 361.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1144, allocations: 0 / 361.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.1144, allocations: 0 / 361.5 MB, free: 11.61 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.0004116/0.1148, allocations: 375.4 kB / 361.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1148, allocations: 12.03 kB / 361.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.1149, allocations: 4.844 kB / 361.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.1151, allocations: 188.2 kB / 362.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.1151, allocations: 8.312 kB / 362.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.1151, allocations: 8.312 kB / 362.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.1154, allocations: 122.4 kB / 362.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.1154, allocations: 4.172 kB / 362.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.1154, allocations: 7.938 kB / 362.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.1154, allocations: 4 kB / 362.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.353e-05/0.1155, allocations: 31.97 kB / 362.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.1159, allocations: 361.9 kB / 362.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.1161, allocations: 87.72 kB / 362.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.918e-05/0.1161, allocations: 34.62 kB / 362.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-06/0.1161, allocations: 0 / 362.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1162, allocations: 34.56 kB / 362.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1162, allocations: 4 kB / 362.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002784/0.1165, allocations: 101.4 kB / 362.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.1165, allocations: 102.8 kB / 363 MB, free: 9.902 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1166, allocations: 145.2 kB / 363.1 MB, free: 9.754 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.1167, allocations: 33.7 kB / 363.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.1167, allocations: 88.12 kB / 363.2 MB, free: 9.625 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.1167, allocations: 3.906 kB / 363.2 MB, free: 9.621 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.1168, allocations: 17.72 kB / 363.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.242e-05/0.1169, allocations: 318.8 kB / 363.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.687e-05/0.1169, allocations: 15.98 kB / 363.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.213e-05/0.117, allocations: 35.44 kB / 363.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.1171, allocations: 63.28 kB / 363.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1171, allocations: 0 / 363.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001389/0.1172, allocations: 81.55 kB / 363.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1173, allocations: 4 kB / 363.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1173, allocations: 3.938 kB / 363.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1173, allocations: 4 kB / 363.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.798e-05/0.1173, allocations: 0 / 363.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1173, allocations: 4 kB / 363.8 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.871e-05/0.1174, allocations: 8.031 kB / 363.8 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.1174, allocations: 4 kB / 363.8 MB, free: 9.027 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.0001249/0.1175, allocations: 133.7 kB / 363.9 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.339e-05/0.1176, allocations: 57.53 kB / 364 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.1176, allocations: 7.828 kB / 364 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.1177, allocations: 4 kB / 364 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1177, allocations: 0 / 364 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1177, allocations: 7.938 kB / 364 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.1179, allocations: 185.6 kB / 364.2 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.1179, allocations: 0 / 364.2 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-06/0.1179, allocations: 4 kB / 364.2 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1179, allocations: 0 / 364.2 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1179, allocations: 4 kB / 364.2 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1179, allocations: 0 / 364.2 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1179, allocations: 0 / 364.2 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.1182, allocations: 263.5 kB / 364.4 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.1182, allocations: 89.09 kB / 364.5 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.1182, allocations: 4 kB / 364.5 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1183, allocations: 3.984 kB / 364.5 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.1184, allocations: 4 kB / 364.5 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.1184, allocations: 0 / 364.5 MB, free: 8.168 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.789e-05/0.1185, allocations: 115.2 kB / 364.7 MB, free: 8.055 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1185, allocations: 0 / 364.7 MB, free: 8.055 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1187, allocations: 12 kB / 364.7 MB, free: 8.043 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 9.473e-05/0.1188, allocations: 95.25 kB / 364.8 MB, free: 7.941 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.119, allocations: 44.09 kB / 364.8 MB, free: 7.898 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.119, allocations: 4.062 kB / 364.8 MB, free: 7.895 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.825e-05/0.1191, allocations: 16 kB / 364.8 MB, free: 7.879 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.1195, allocations: 35.45 kB / 364.9 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.1198, allocations: 228.2 kB / 365.1 MB, free: 7.578 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.1201, allocations: 0.6926 MB / 365.8 MB, free: 6.859 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.1201, allocations: 11.44 kB / 365.8 MB, free: 6.848 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1201, allocations: 0 / 365.8 MB, free: 6.848 MB / 302.1 MB Notification: Performance of Templates: time 0.002015/0.1221, allocations: 0.7914 MB / 366.6 MB, free: 6.066 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches