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.0008142/0.0008142, allocations: 95.14 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.0008956/0.0008957, allocations: 200.7 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.379/1.379, allocations: 227.7 MB / 247.5 MB, free: 9.492 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000255/0.000255, allocations: 11.98 kB / 308.4 MB, free: 0.5781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1082, allocations: 51.52 MB / 359.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002274/0.1105, allocations: 1.239 MB / 361.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004341/0.111, allocations: 143.6 kB / 361.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.588e-05/0.1111, allocations: 0 / 361.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.1112, allocations: 7.922 kB / 361.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.1113, allocations: 8 kB / 361.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.1116, allocations: 35.91 kB / 361.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.1118, allocations: 43.78 kB / 361.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1119, allocations: 15.98 kB / 361.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.861e-05/0.1119, allocations: 15.92 kB / 361.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.444e-05/0.112, allocations: 11.94 kB / 361.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.112, allocations: 0 / 361.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.112, allocations: 0 / 361.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.271e-05/0.1121, allocations: 23.92 kB / 361.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/0.1121, allocations: 49.5 kB / 361.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.17e-05/0.1122, allocations: 27.94 kB / 361.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1122, allocations: 0 / 361.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1122, allocations: 0 / 361.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1123, allocations: 0 / 361.5 MB, free: 11.43 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.0004643/0.1127, allocations: 367.5 kB / 361.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1128, allocations: 8.031 kB / 361.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.1128, allocations: 12.78 kB / 361.9 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.113, allocations: 196.2 kB / 362.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.1131, allocations: 384 / 362.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.1131, allocations: 8.312 kB / 362.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.1134, allocations: 122.4 kB / 362.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1134, allocations: 4.188 kB / 362.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1134, allocations: 3.938 kB / 362.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.1134, allocations: 4 kB / 362.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.1136, allocations: 27.98 kB / 362.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.114, allocations: 369.8 kB / 362.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.1141, allocations: 79.72 kB / 362.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.635e-05/0.1142, allocations: 38.62 kB / 362.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.1142, allocations: 0 / 362.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.1142, allocations: 34.56 kB / 362.8 MB, free: 9.965 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1142, allocations: 4 kB / 362.8 MB, free: 9.961 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003045/0.1145, allocations: 105.7 kB / 362.9 MB, free: 9.852 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.1146, allocations: 106.8 kB / 363 MB, free: 9.723 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.1147, allocations: 140.6 kB / 363.1 MB, free: 9.578 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.1148, allocations: 29.69 kB / 363.2 MB, free: 9.543 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.1148, allocations: 88.14 kB / 363.2 MB, free: 9.453 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.1148, allocations: 7.906 kB / 363.3 MB, free: 9.445 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.1149, allocations: 13.72 kB / 363.3 MB, free: 9.426 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.115, allocations: 322.9 kB / 363.6 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.581e-05/0.115, allocations: 8 kB / 363.6 MB, free: 9.094 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.374e-05/0.1151, allocations: 39.42 kB / 363.6 MB, free: 9.043 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.1152, allocations: 67.28 kB / 363.7 MB, free: 8.965 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1152, allocations: 0 / 363.7 MB, free: 8.965 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001479/0.1154, allocations: 73.69 kB / 363.8 MB, free: 8.887 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1154, allocations: 8 kB / 363.8 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1154, allocations: 3.984 kB / 363.8 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.1154, allocations: 4 kB / 363.8 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.439e-05/0.1155, allocations: 3.938 kB / 363.8 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1155, allocations: 0 / 363.8 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.1155, allocations: 7.906 kB / 363.8 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.1156, allocations: 8 kB / 363.8 MB, free: 8.852 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.0001294/0.1157, allocations: 125.8 kB / 363.9 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.1158, allocations: 49.64 kB / 364 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.85e-05/0.1159, allocations: 23.8 kB / 364 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.1159, allocations: 4 kB / 364 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1159, allocations: 0 / 364 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1159, allocations: 0 / 364 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.1161, allocations: 173.6 kB / 364.2 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1161, allocations: 4 kB / 364.2 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-06/0.1161, allocations: 3.984 kB / 364.2 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1161, allocations: 0 / 364.2 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.1162, allocations: 0 / 364.2 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.1162, allocations: 12.03 kB / 364.2 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1162, allocations: 0 / 364.2 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.1164, allocations: 263.5 kB / 364.4 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.1165, allocations: 85.09 kB / 364.5 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.1165, allocations: 8 kB / 364.5 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.188e-05/0.1166, allocations: 4 kB / 364.5 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.1166, allocations: 7.984 kB / 364.6 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.1166, allocations: 0 / 364.6 MB, free: 7.996 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.302e-05/0.1167, allocations: 109.4 kB / 364.7 MB, free: 7.891 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1167, allocations: 0 / 364.7 MB, free: 7.891 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.117, allocations: 4 kB / 364.7 MB, free: 7.887 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.0001098/0.1171, allocations: 107.2 kB / 364.8 MB, free: 7.773 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.1173, allocations: 47.86 kB / 364.8 MB, free: 7.727 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1173, allocations: 0 / 364.8 MB, free: 7.727 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.74e-05/0.1174, allocations: 11.98 kB / 364.8 MB, free: 7.715 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.1178, allocations: 36.27 kB / 364.9 MB, free: 7.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.1182, allocations: 228.1 kB / 365.1 MB, free: 7.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.1184, allocations: 0.6926 MB / 365.8 MB, free: 6.691 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.1184, allocations: 15.44 kB / 365.8 MB, free: 6.676 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1184, allocations: 0 / 365.8 MB, free: 6.676 MB / 302.1 MB Notification: Performance of Templates: time 0.002181/0.1206, allocations: 0.7909 MB / 366.6 MB, free: 5.895 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