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.001331/0.001331, allocations: 107.5 kB / 20.44 MB, free: 1.348 MB / 14.72 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.001497/0.001497, allocations: 190.3 kB / 23.71 MB, free: 4.551 MB / 14.72 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.478/1.478, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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.1.|sample1.y.2.",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.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 51.91 kB / 370.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2767, allocations: 52.18 MB / 423.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003033/0.2798, allocations: 1.542 MB / 424.6 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004054/0.2802, allocations: 131.6 kB / 424.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.346e-05/0.2803, allocations: 7.938 kB / 424.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.769e-05/0.2803, allocations: 11.92 kB / 424.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.38e-05/0.2804, allocations: 3.938 kB / 424.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.2807, allocations: 43.89 kB / 424.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.2808, allocations: 39.86 kB / 424.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.2809, allocations: 11.98 kB / 424.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.903e-05/0.281, allocations: 19.92 kB / 424.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.076e-05/0.281, allocations: 15.86 kB / 424.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.281, allocations: 0 / 424.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.458e-05/0.281, allocations: 4 kB / 424.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.674e-05/0.2811, allocations: 19.92 kB / 424.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.2811, allocations: 15.88 kB / 424.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.2813, allocations: 63.19 kB / 425 MB, free: 12.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.2813, allocations: 4 kB / 425 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2813, allocations: 4 kB / 425 MB, free: 12.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.2813, allocations: 0 / 425 MB, free: 12.56 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.0004648/0.2818, allocations: 296.8 kB / 425.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.2818, allocations: 8.031 kB / 425.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.2818, allocations: 8.891 kB / 425.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.2821, allocations: 146.3 kB / 425.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.2821, allocations: 4.375 kB / 425.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.2821, allocations: 384 / 425.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.2824, allocations: 126.5 kB / 425.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2824, allocations: 192 / 425.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.2824, allocations: 7.875 kB / 425.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.2824, allocations: 4 kB / 425.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.112e-05/0.2825, allocations: 27.92 kB / 425.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.2829, allocations: 297.6 kB / 425.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.2831, allocations: 75.78 kB / 426 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.699e-05/0.2831, allocations: 38.56 kB / 426 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.2831, allocations: 0 / 426 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/0.2832, allocations: 42.5 kB / 426 MB, free: 11.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.2832, allocations: 0 / 426 MB, free: 11.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000307/0.2835, allocations: 93.55 kB / 426.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.513e-05/0.2836, allocations: 106.8 kB / 426.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.2837, allocations: 141.4 kB / 426.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.2838, allocations: 37.7 kB / 426.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.2838, allocations: 92.11 kB / 426.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.608e-06/0.2838, allocations: 0 / 426.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.2839, allocations: 25.67 kB / 426.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.284, allocations: 310.8 kB / 426.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.974e-05/0.2841, allocations: 15.98 kB / 426.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.2842, allocations: 43.36 kB / 426.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.2843, allocations: 51.36 kB / 426.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2843, allocations: 0 / 426.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001522/0.2844, allocations: 73.55 kB / 427 MB, free: 10.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2845, allocations: 8 kB / 427 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.2845, allocations: 0 / 427 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.2845, allocations: 0 / 427 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.712e-05/0.2845, allocations: 8 kB / 427 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.2845, allocations: 3.984 kB / 427 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.16e-05/0.2846, allocations: 8.125 kB / 427 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.2846, allocations: 0 / 427 MB, free: 10.25 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.0001288/0.2847, allocations: 133.6 kB / 427.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/0.2848, allocations: 49.66 kB / 427.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.2848, allocations: 16.05 kB / 427.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.2849, allocations: 7.984 kB / 427.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2849, allocations: 0 / 427.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2849, allocations: 0 / 427.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.2851, allocations: 117.3 kB / 427.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2851, allocations: 11.91 kB / 427.4 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.855e-06/0.2851, allocations: 3.984 kB / 427.4 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.2851, allocations: 4 kB / 427.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.2851, allocations: 0 / 427.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2851, allocations: 0 / 427.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2851, allocations: 0 / 427.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.2854, allocations: 259.6 kB / 427.6 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.2854, allocations: 15.92 kB / 427.6 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.2854, allocations: 0 / 427.6 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.472e-05/0.2855, allocations: 4 kB / 427.7 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.2856, allocations: 11.98 kB / 427.7 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.2856, allocations: 0 / 427.7 MB, free: 9.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.896e-05/0.2857, allocations: 103.3 kB / 427.8 MB, free: 9.457 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2857, allocations: 0 / 427.8 MB, free: 9.457 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.2859, allocations: 11.95 kB / 427.8 MB, free: 9.445 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.0001201/0.2861, allocations: 103.2 kB / 427.9 MB, free: 9.336 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.2862, allocations: 40.05 kB / 427.9 MB, free: 9.297 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2862, allocations: 4.062 kB / 427.9 MB, free: 9.293 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.233e-05/0.2863, allocations: 19.92 kB / 427.9 MB, free: 9.273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.2867, allocations: 27.89 kB / 428 MB, free: 9.246 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.2871, allocations: 173.7 kB / 428.1 MB, free: 9.047 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.2872, allocations: 79.19 kB / 428.2 MB, free: 8.949 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.666e-05/0.2872, allocations: 7.984 kB / 428.2 MB, free: 8.941 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.2873, allocations: 15.66 kB / 428.2 MB, free: 8.926 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2873, allocations: 4 kB / 428.2 MB, free: 8.922 MB / 334.1 MB Notification: Performance of Templates: time 0.003528/0.2908, allocations: 0.6811 MB / 428.9 MB, free: 8.266 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.443473856896162]