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.001176/0.001176, allocations: 97.92 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001482/0.001481, allocations: 202.5 kB / 17.91 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.554/1.554, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002674/0.0002677, allocations: 8 kB / 307.1 MB, free: 1.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1198, allocations: 51.53 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002551/0.1224, allocations: 1.223 MB / 359.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003843/0.1228, allocations: 155.6 kB / 360 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.925e-05/0.1229, allocations: 4 kB / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.222e-05/0.123, allocations: 0 / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.125e-05/0.1231, allocations: 7.875 kB / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.1234, allocations: 31.91 kB / 360.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.1235, allocations: 39.84 kB / 360.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1236, allocations: 11.98 kB / 360.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.765e-05/0.1236, allocations: 15.92 kB / 360.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.957e-05/0.1237, allocations: 15.92 kB / 360.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1237, allocations: 4 kB / 360.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.1237, allocations: 0 / 360.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.8e-05/0.1238, allocations: 15.92 kB / 360.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.1238, allocations: 33.7 kB / 360.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.83e-05/0.1239, allocations: 31.94 kB / 360.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1239, allocations: 0 / 360.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1239, allocations: 0 / 360.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.124, allocations: 0 / 360.2 MB, free: 12.06 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.0005272/0.1245, allocations: 371.3 kB / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.1245, allocations: 8.031 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.1246, allocations: 7.906 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.1248, allocations: 194.9 kB / 360.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.1249, allocations: 0 / 360.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.1249, allocations: 11.94 kB / 360.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.1252, allocations: 121.8 kB / 360.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1252, allocations: 0 / 360.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1252, allocations: 0 / 360.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/0.1253, allocations: 4 kB / 360.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.356e-05/0.1254, allocations: 35.86 kB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.1259, allocations: 373.9 kB / 361.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.126, allocations: 79.78 kB / 361.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.884e-05/0.1261, allocations: 42.56 kB / 361.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.1261, allocations: 0 / 361.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.1261, allocations: 34.56 kB / 361.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.1261, allocations: 0 / 361.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003093/0.1265, allocations: 105.6 kB / 361.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.1265, allocations: 106.8 kB / 361.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.1267, allocations: 140.8 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1267, allocations: 25.7 kB / 361.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.1268, allocations: 92.33 kB / 361.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.209e-05/0.1268, allocations: 11.94 kB / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.1268, allocations: 0 / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1269, allocations: 310.8 kB / 362.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.005e-05/0.127, allocations: 19.98 kB / 362.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.127, allocations: 35.42 kB / 362.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.72e-05/0.1271, allocations: 23.98 kB / 362.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1271, allocations: 0 / 362.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001521/0.1273, allocations: 81.41 kB / 362.4 MB, free: 9.582 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.1273, allocations: 8 kB / 362.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.1273, allocations: 8.125 kB / 362.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1273, allocations: 0 / 362.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.665e-05/0.1274, allocations: 4 kB / 362.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1274, allocations: 0 / 362.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/0.1274, allocations: 8 kB / 362.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.1274, allocations: 0 / 362.4 MB, free: 9.555 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.1276, allocations: 121.8 kB / 362.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.1e-05/0.1277, allocations: 57.48 kB / 362.6 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.1277, allocations: 19.86 kB / 362.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.1277, allocations: 4 kB / 362.6 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1277, allocations: 3.938 kB / 362.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1278, allocations: 4.078 kB / 362.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.128, allocations: 173.6 kB / 362.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.128, allocations: 0 / 362.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.095e-06/0.128, allocations: 4 kB / 362.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.128, allocations: 3.953 kB / 362.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.128, allocations: 0 / 362.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.128, allocations: 0 / 362.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.128, allocations: 8 kB / 362.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.1283, allocations: 255.5 kB / 363.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.1283, allocations: 97 kB / 363.2 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.1284, allocations: 7.891 kB / 363.2 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.1285, allocations: 11.98 kB / 363.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.1285, allocations: 0 / 363.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.1286, allocations: 4 kB / 363.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.334e-05/0.1286, allocations: 107.2 kB / 363.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1286, allocations: 0 / 363.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.1289, allocations: 4 kB / 363.3 MB, free: 8.578 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 (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.0001347/0.1291, allocations: 103.2 kB / 363.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001635/0.1292, allocations: 47.91 kB / 363.5 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1292, allocations: 0 / 363.5 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.718e-05/0.1293, allocations: 12 kB / 363.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.1297, allocations: 31.52 kB / 363.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.1301, allocations: 183.1 kB / 363.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.1304, allocations: 0.6965 MB / 364.4 MB, free: 7.441 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.699e-05/0.1304, allocations: 7.938 kB / 364.4 MB, free: 7.434 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.1305, allocations: 15.44 kB / 364.4 MB, free: 7.418 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1305, allocations: 0 / 364.4 MB, free: 7.418 MB / 302.1 MB Notification: Performance of Templates: time 0.002881/0.1334, allocations: 0.5272 MB / 364.9 MB, free: 6.906 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/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