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.001641/0.001648, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002044/0.002044, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2428, allocations: 50.55 MB / 409.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002435/0.2452, allocations: 1.515 MB / 411.4 MB, free: 276 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003807/0.2456, allocations: 143.5 kB / 411.6 MB, free: 132 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.491e-05/0.2457, allocations: 4 kB / 411.6 MB, free: 128 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.714e-05/0.2458, allocations: 7.875 kB / 411.6 MB, free: 120 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.406e-05/0.2459, allocations: 11.92 kB / 411.6 MB, free: 108 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.2461, allocations: 43.89 kB / 411.6 MB, free: 64 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.2463, allocations: 39.91 kB / 411.7 MB, free: 24 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.2464, allocations: 15.98 kB / 411.7 MB, free: 8 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.754e-05/0.2464, allocations: 15.92 kB / 411.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.647e-05/0.2465, allocations: 15.88 kB / 411.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.2465, allocations: 4 kB / 411.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.296e-05/0.2465, allocations: 8 kB / 411.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.2466, allocations: 15.92 kB / 411.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.2466, allocations: 27.75 kB / 411.8 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.2467, allocations: 59.73 kB / 411.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2468, allocations: 3.938 kB / 411.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2468, allocations: 0 / 411.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2468, allocations: 0 / 411.9 MB, free: 15.86 MB / 334.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.0004355/0.2472, allocations: 364.5 kB / 412.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2473, allocations: 8.031 kB / 412.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.2473, allocations: 12.84 kB / 412.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.2475, allocations: 200.1 kB / 412.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.2476, allocations: 4.375 kB / 412.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.2476, allocations: 384 / 412.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.2478, allocations: 122.5 kB / 412.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2478, allocations: 4.125 kB / 412.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.2479, allocations: 3.938 kB / 412.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.2479, allocations: 4 kB / 412.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.723e-05/0.248, allocations: 23.98 kB / 412.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.2484, allocations: 361.9 kB / 412.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.2485, allocations: 79.72 kB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.75e-05/0.2486, allocations: 34.62 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.2486, allocations: 0 / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.2486, allocations: 38.56 kB / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2486, allocations: 0 / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002816/0.2489, allocations: 97.44 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.249, allocations: 107.1 kB / 413.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.2491, allocations: 144.8 kB / 413.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.2491, allocations: 29.69 kB / 413.5 MB, free: 14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.2492, allocations: 96.03 kB / 413.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.2492, allocations: 8 kB / 413.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.2492, allocations: 17.62 kB / 413.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2494, allocations: 318.8 kB / 413.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.517e-05/0.2494, allocations: 12 kB / 413.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.713e-05/0.2495, allocations: 35.42 kB / 413.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.561e-05/0.2496, allocations: 59.28 kB / 414 MB, free: 13.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2496, allocations: 4 kB / 414 MB, free: 13.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001367/0.2497, allocations: 73.56 kB / 414.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.2497, allocations: 7.984 kB / 414.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.2498, allocations: 4 kB / 414.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2498, allocations: 0 / 414.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.782e-05/0.2498, allocations: 0 / 414.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.2498, allocations: 4 kB / 414.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.623e-05/0.2499, allocations: 7.875 kB / 414.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.2499, allocations: 4 kB / 414.1 MB, free: 13.32 MB / 334.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 9.021e-05/0.25, allocations: 133.9 kB / 414.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.803e-05/0.2501, allocations: 53.53 kB / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.2501, allocations: 11.83 kB / 414.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.2501, allocations: 4 kB / 414.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.2501, allocations: 0 / 414.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2501, allocations: 4.078 kB / 414.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.2504, allocations: 173.6 kB / 414.5 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.2504, allocations: 4 kB / 414.5 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-06/0.2504, allocations: 7.984 kB / 414.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2504, allocations: 4.031 kB / 414.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.2504, allocations: 8 kB / 414.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2504, allocations: 0 / 414.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2504, allocations: 0 / 414.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.2507, allocations: 255.5 kB / 414.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/0.2507, allocations: 97 kB / 414.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.2507, allocations: 0 / 414.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-05/0.2508, allocations: 7.984 kB / 414.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.2509, allocations: 7.938 kB / 414.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.2509, allocations: 0 / 414.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.54e-05/0.251, allocations: 103.3 kB / 414.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.251, allocations: 0 / 414.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.2513, allocations: 4 kB / 415 MB, free: 12.34 MB / 334.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.0001128/0.2514, allocations: 111.2 kB / 415.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.2515, allocations: 35.92 kB / 415.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2515, allocations: 0 / 415.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.041e-05/0.2516, allocations: 15.98 kB / 415.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.252, allocations: 27.89 kB / 415.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/0.2524, allocations: 213.4 kB / 415.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.2527, allocations: 0.6924 MB / 416 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.2527, allocations: 7.438 kB / 416 MB, free: 11.18 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2527, allocations: 0 / 416 MB, free: 11.18 MB / 334.1 MB Notification: Performance of Templates: time 0.002073/0.2548, allocations: 0.8068 MB / 416.9 MB, free: 10.37 MB / 334.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