Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 83.89 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.022/1.022, allocations: 173.4 MB / 201.1 MB, free: 9.344 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/3.002e-05, allocations: 6.25 kB / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002804/0.002834, allocations: 1.561 MB / 269.6 MB, free: 4.867 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004469/0.003281, allocations: 155.4 kB / 269.7 MB, free: 4.715 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.511e-05/0.003366, allocations: 3.938 kB / 269.7 MB, free: 4.711 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.003479, allocations: 11.92 kB / 269.7 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.937e-05/0.003578, allocations: 7.938 kB / 269.7 MB, free: 4.691 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.003804, allocations: 35.84 kB / 269.8 MB, free: 4.656 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.003906, allocations: 39.84 kB / 269.8 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.004018, allocations: 15.98 kB / 269.8 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.611e-05/0.004064, allocations: 23.91 kB / 269.8 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.936e-05/0.004094, allocations: 15.92 kB / 269.9 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.004115, allocations: 0 / 269.9 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.004126, allocations: 4 kB / 269.9 MB, free: 4.559 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.004179, allocations: 15.94 kB / 269.9 MB, free: 4.543 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.00421, allocations: 15.98 kB / 269.9 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.004331, allocations: 35.84 kB / 269.9 MB, free: 4.492 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.004334, allocations: 0 / 269.9 MB, free: 4.492 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004335, allocations: 0 / 269.9 MB, free: 4.492 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.004339, allocations: 3.938 kB / 269.9 MB, free: 4.488 MB / 250.7 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.0004707/0.00481, allocations: 396.3 kB / 270.3 MB, free: 4.062 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.004855, allocations: 16.91 kB / 270.3 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.084e-05/0.004906, allocations: 12.83 kB / 270.4 MB, free: 4.035 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.005082, allocations: 144.4 kB / 270.5 MB, free: 3.867 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.005104, allocations: 4.375 kB / 270.5 MB, free: 3.863 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.005116, allocations: 8.375 kB / 270.5 MB, free: 3.855 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.005366, allocations: 125.3 kB / 270.6 MB, free: 3.703 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.005374, allocations: 192 / 270.6 MB, free: 3.703 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.005386, allocations: 4.359 kB / 270.6 MB, free: 3.699 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/0.005418, allocations: 4.375 kB / 270.6 MB, free: 3.695 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.507e-05/0.005443, allocations: 11.88 kB / 270.6 MB, free: 3.684 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.005782, allocations: 410.4 kB / 271 MB, free: 3.238 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.058e-05/0.005872, allocations: 85.25 kB / 271.1 MB, free: 3.117 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.005899, allocations: 23.06 kB / 271.2 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.005906, allocations: 4.062 kB / 271.2 MB, free: 3.078 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.005929, allocations: 41.33 kB / 271.2 MB, free: 3.027 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.005931, allocations: 4 kB / 271.2 MB, free: 3.023 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001766/0.006107, allocations: 57.52 kB / 271.3 MB, free: 2.961 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.006172, allocations: 115.1 kB / 271.4 MB, free: 2.824 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.006279, allocations: 204.7 kB / 271.6 MB, free: 2.609 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.00629, allocations: 25.7 kB / 271.6 MB, free: 2.578 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.006339, allocations: 138.8 kB / 271.7 MB, free: 2.438 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.02e-05/0.006349, allocations: 3.938 kB / 271.7 MB, free: 2.434 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.006389, allocations: 27.33 kB / 271.8 MB, free: 2.398 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.006525, allocations: 496.1 kB / 272.2 MB, free: 1.902 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.472e-05/0.00654, allocations: 4 kB / 272.3 MB, free: 1.898 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.006561, allocations: 19.38 kB / 272.3 MB, free: 1.871 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.315e-05/0.006594, allocations: 23.38 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006596, allocations: 4.062 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.387e-05/0.00665, allocations: 45.62 kB / 272.3 MB, free: 1.785 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.006668, allocations: 11.94 kB / 272.4 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.006673, allocations: 0 / 272.4 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.006687, allocations: 0 / 272.4 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.948e-05/0.006706, allocations: 0 / 272.4 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.006711, allocations: 0 / 272.4 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.764e-05/0.006739, allocations: 4 kB / 272.4 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.006744, allocations: 0 / 272.4 MB, free: 1.77 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u[1],sample1.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.244e-05/0.006816, allocations: 168.6 kB / 272.5 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.006864, allocations: 37.66 kB / 272.6 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.006891, allocations: 15.91 kB / 272.6 MB, free: 1.531 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.006906, allocations: 4 kB / 272.6 MB, free: 1.527 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.006912, allocations: 7.984 kB / 272.6 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.006914, allocations: 0 / 272.6 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.007038, allocations: 136.6 kB / 272.7 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.007041, allocations: 0 / 272.7 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-06/0.007044, allocations: 0 / 272.7 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.007047, allocations: 4 kB / 272.7 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.007054, allocations: 4.031 kB / 272.7 MB, free: 1.344 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.007057, allocations: 3.938 kB / 272.7 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.007059, allocations: 0 / 272.7 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.0072, allocations: 334.7 kB / 273.1 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.007229, allocations: 15.98 kB / 273.1 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.00724, allocations: 0 / 273.1 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.633e-05/0.007296, allocations: 7.938 kB / 273.1 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.007338, allocations: 3.984 kB / 273.1 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.007343, allocations: 0 / 273.1 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.9e-05/0.007402, allocations: 145.8 kB / 273.2 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007402, allocations: 3.938 kB / 273.2 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001704/0.007573, allocations: 15.95 kB / 273.2 MB, free: 0.8008 MB / 250.7 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.0001015/0.007674, allocations: 103.2 kB / 273.3 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.857e-05/0.007763, allocations: 15.67 kB / 273.4 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.007764, allocations: 4 kB / 273.4 MB, free: 0.668 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.539e-05/0.00778, allocations: 11.62 kB / 273.4 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.008106, allocations: 20.58 kB / 273.4 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.00846, allocations: 181 kB / 273.6 MB, free: 428 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.224e-05/0.008512, allocations: 63.34 kB / 273.6 MB, free: 344 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.297e-05/0.008535, allocations: 256 / 273.6 MB, free: 344 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.008564, allocations: 12.5 kB / 273.6 MB, free: 332 kB / 250.7 MB Notification: Performance of SimCode: time 1.052e-06/0.008566, allocations: 0 / 273.6 MB, free: 332 kB / 250.7 MB Notification: Performance of Templates: time 0.002782/0.01135, allocations: 0.701 MB / 274.3 MB, free: 15.64 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7609680970199406]