Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002395/0.002395, allocations: 205.1 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 258.3 MB, free: 7.789 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.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.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 47.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2775, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.00295/0.2805, allocations: 1.541 MB / 433.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004255/0.2809, allocations: 139.5 kB / 434 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.505e-05/0.281, allocations: 7.938 kB / 434 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.701e-05/0.2811, allocations: 3.938 kB / 434 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.372e-05/0.2812, allocations: 7.938 kB / 434 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.2814, allocations: 43.83 kB / 434.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.2815, allocations: 39.86 kB / 434.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.2816, allocations: 15.78 kB / 434.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.394e-05/0.2817, allocations: 27.91 kB / 434.1 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/0.2817, allocations: 15.88 kB / 434.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.2817, allocations: 4 kB / 434.2 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.2817, allocations: 0 / 434.2 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.501e-05/0.2818, allocations: 15.98 kB / 434.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.2818, allocations: 19.81 kB / 434.2 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.282, allocations: 55.45 kB / 434.3 MB, free: 4.797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.282, allocations: 0 / 434.3 MB, free: 4.797 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.282, allocations: 0 / 434.3 MB, free: 4.797 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.282, allocations: 0 / 434.3 MB, free: 4.797 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.0004946/0.2825, allocations: 301.1 kB / 434.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.2825, allocations: 16.03 kB / 434.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.2826, allocations: 8.891 kB / 434.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.2828, allocations: 138.3 kB / 434.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.2829, allocations: 4.375 kB / 434.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.2829, allocations: 8.375 kB / 434.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.2832, allocations: 114.5 kB / 434.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2832, allocations: 192 / 434.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.2832, allocations: 7.938 kB / 434.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.2832, allocations: 4 kB / 434.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.682e-05/0.2833, allocations: 31.86 kB / 434.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.2837, allocations: 305.6 kB / 435.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.2838, allocations: 71.84 kB / 435.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.823e-05/0.2839, allocations: 38.5 kB / 435.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.2839, allocations: 3.938 kB / 435.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.284, allocations: 42.55 kB / 435.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.284, allocations: 0 / 435.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002946/0.2842, allocations: 97.55 kB / 435.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.863e-05/0.2843, allocations: 102.8 kB / 435.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.2845, allocations: 143.8 kB / 435.7 MB, free: 3.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.2845, allocations: 25.7 kB / 435.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.2846, allocations: 88.12 kB / 435.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.2846, allocations: 12.31 kB / 435.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.2846, allocations: 21.72 kB / 435.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.2848, allocations: 326.8 kB / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.17e-05/0.2848, allocations: 4 kB / 436.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.33e-05/0.2849, allocations: 39.42 kB / 436.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.285, allocations: 51.36 kB / 436.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.285, allocations: 4 kB / 436.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001418/0.2851, allocations: 77.5 kB / 436.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2851, allocations: 8 kB / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.2851, allocations: 0 / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.2851, allocations: 0 / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.369e-05/0.2852, allocations: 11.98 kB / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2852, allocations: 3.938 kB / 436.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.63e-05/0.2852, allocations: 4 kB / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.2852, allocations: 0 / 436.3 MB, free: 2.473 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.0001152/0.2853, allocations: 133.8 kB / 436.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-05/0.2854, allocations: 45.66 kB / 436.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/0.2854, allocations: 19.91 kB / 436.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.2855, allocations: 4 kB / 436.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2855, allocations: 0 / 436.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2855, allocations: 0 / 436.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.2857, allocations: 117.3 kB / 436.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.2857, allocations: 7.922 kB / 436.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-06/0.2857, allocations: 0 / 436.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.2857, allocations: 7.938 kB / 436.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.2857, allocations: 4.031 kB / 436.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2857, allocations: 0 / 436.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2857, allocations: 4 kB / 436.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.2859, allocations: 251.6 kB / 436.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.286, allocations: 15.88 kB / 436.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.286, allocations: 7.938 kB / 436.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.161e-05/0.2861, allocations: 4 kB / 436.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.2861, allocations: 7.984 kB / 436.9 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.2861, allocations: 0 / 436.9 MB, free: 1.785 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.169e-05/0.2862, allocations: 113.4 kB / 437.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2862, allocations: 0 / 437.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.2865, allocations: 8 kB / 437.1 MB, free: 1.668 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.0001097/0.2866, allocations: 99.23 kB / 437.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.2867, allocations: 43.86 kB / 437.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2867, allocations: 0 / 437.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.986e-05/0.2868, allocations: 12.23 kB / 437.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.2872, allocations: 28.08 kB / 437.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.2876, allocations: 204.9 kB / 437.4 MB, free: 1.242 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.631e-05/0.2877, allocations: 79.31 kB / 437.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.2877, allocations: 11.44 kB / 437.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2877, allocations: 0 / 437.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of Templates: time 0.002483/0.2902, allocations: 0.8152 MB / 438.3 MB, free: 332 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.137419369013514]