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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001567/0.001567, allocations: 113 kB / 21.18 MB, free: 0.5898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001877/0.001877, allocations: 209.7 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.466/1.466, allocations: 230.4 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] 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=5011,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=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "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.001916/0.001916, allocations: 67.84 kB / 378.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2837, allocations: 53.31 MB / 432 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003147/0.2869, allocations: 1.547 MB / 433.6 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004306/0.2873, allocations: 135.5 kB / 433.7 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.172e-05/0.2874, allocations: 4 kB / 433.7 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.2875, allocations: 11.88 kB / 433.7 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.2876, allocations: 11.92 kB / 433.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.2879, allocations: 35.91 kB / 433.8 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.288, allocations: 43.84 kB / 433.8 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.2881, allocations: 11.98 kB / 433.8 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.955e-05/0.2882, allocations: 15.92 kB / 433.9 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.994e-05/0.2882, allocations: 19.86 kB / 433.9 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.2882, allocations: 4 kB / 433.9 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.2883, allocations: 7.938 kB / 433.9 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.088e-05/0.2883, allocations: 12 kB / 433.9 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.2884, allocations: 27.8 kB / 433.9 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.2885, allocations: 55.55 kB / 434 MB, free: 5.457 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2885, allocations: 0 / 434 MB, free: 5.457 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2885, allocations: 0 / 434 MB, free: 5.457 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.2886, allocations: 0 / 434 MB, free: 5.457 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.0005872/0.2891, allocations: 373.3 kB / 434.3 MB, free: 5.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.2892, allocations: 12.03 kB / 434.4 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.2892, allocations: 8.891 kB / 434.4 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.2895, allocations: 210.7 kB / 434.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.2896, allocations: 4.375 kB / 434.6 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.2896, allocations: 8.359 kB / 434.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.2899, allocations: 122.4 kB / 434.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.2899, allocations: 8.188 kB / 434.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.2899, allocations: 3.938 kB / 434.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.2899, allocations: 0 / 434.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.084e-05/0.29, allocations: 23.98 kB / 434.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/0.2905, allocations: 365.9 kB / 435.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.2906, allocations: 79.72 kB / 435.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.53e-05/0.2907, allocations: 34.62 kB / 435.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.2907, allocations: 0 / 435.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.2907, allocations: 34.56 kB / 435.2 MB, free: 3.988 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2908, allocations: 0 / 435.2 MB, free: 3.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003162/0.2911, allocations: 97.48 kB / 435.3 MB, free: 3.887 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.582e-05/0.2912, allocations: 106.8 kB / 435.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.2913, allocations: 133.8 kB / 435.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.2913, allocations: 30.08 kB / 435.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.2914, allocations: 96.11 kB / 435.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.197e-05/0.2914, allocations: 3.953 kB / 435.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.2914, allocations: 21.72 kB / 435.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2916, allocations: 318.8 kB / 436 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.465e-05/0.2916, allocations: 8 kB / 436 MB, free: 3.125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.4e-05/0.2917, allocations: 35.42 kB / 436.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.2918, allocations: 59.3 kB / 436.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2918, allocations: 4 kB / 436.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001417/0.2919, allocations: 77.53 kB / 436.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.2919, allocations: 4 kB / 436.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2919, allocations: 0 / 436.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.292, allocations: 4 kB / 436.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.084e-05/0.292, allocations: 3.984 kB / 436.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.292, allocations: 4 kB / 436.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.283e-05/0.292, allocations: 8 kB / 436.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.292, allocations: 7.938 kB / 436.2 MB, free: 2.891 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 0.0001064/0.2921, allocations: 133.8 kB / 436.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.473e-05/0.2922, allocations: 45.59 kB / 436.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.2923, allocations: 19.81 kB / 436.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.2923, allocations: 4 kB / 436.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2923, allocations: 0 / 436.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2923, allocations: 0 / 436.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.2925, allocations: 173.6 kB / 436.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.2925, allocations: 4 kB / 436.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-06/0.2925, allocations: 3.938 kB / 436.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2925, allocations: 0 / 436.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.2926, allocations: 8.016 kB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2926, allocations: 4 kB / 436.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2926, allocations: 0 / 436.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.2928, allocations: 259.5 kB / 436.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.3e-05/0.2929, allocations: 93.05 kB / 437 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.2929, allocations: 0 / 437 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.922e-05/0.293, allocations: 8 kB / 437 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.293, allocations: 4.125 kB / 437 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.293, allocations: 4 kB / 437 MB, free: 2.039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.124e-05/0.2931, allocations: 106.4 kB / 437.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2931, allocations: 0 / 437.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.2934, allocations: 4 kB / 437.1 MB, free: 1.934 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.0001293/0.2935, allocations: 107.2 kB / 437.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.2937, allocations: 43.92 kB / 437.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2937, allocations: 0 / 437.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.913e-05/0.2937, allocations: 15.92 kB / 437.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.2941, allocations: 26.39 kB / 437.3 MB, free: 1.734 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.2945, allocations: 213.3 kB / 437.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.2949, allocations: 0.6963 MB / 438.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.2949, allocations: 15.44 kB / 438.2 MB, free: 0.75 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2949, allocations: 0 / 438.2 MB, free: 0.75 MB / 334.1 MB Notification: Performance of Templates: time 0.00261/0.2975, allocations: 0.8056 MB / 439 MB, free: 15.95 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.995047176722437]