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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 103.2 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 194.5 kB / 22.76 MB, free: 5.719 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 251.4 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] 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.001521/0.001521, allocations: 47.92 kB / 369.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2848, allocations: 52.14 MB / 421.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003287/0.2881, allocations: 1.533 MB / 422.8 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004868/0.2886, allocations: 143.5 kB / 423 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.2887, allocations: 4 kB / 423 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.2888, allocations: 7.875 kB / 423 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.2889, allocations: 15.91 kB / 423 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.2892, allocations: 35.86 kB / 423 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.2893, allocations: 43.89 kB / 423.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.2894, allocations: 8 kB / 423.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.958e-05/0.2895, allocations: 19.92 kB / 423.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.513e-05/0.2895, allocations: 19.86 kB / 423.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.2895, allocations: 4 kB / 423.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.2895, allocations: 0 / 423.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.301e-05/0.2896, allocations: 19.92 kB / 423.1 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.2897, allocations: 23.81 kB / 423.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.2898, allocations: 55.55 kB / 423.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.2898, allocations: 3.984 kB / 423.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2898, allocations: 7.938 kB / 423.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2898, allocations: 0 / 423.2 MB, free: 13.2 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.0005422/0.2903, allocations: 375.8 kB / 423.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.2904, allocations: 8.031 kB / 423.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.2904, allocations: 8.891 kB / 423.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.2907, allocations: 203.2 kB / 423.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.2907, allocations: 4.375 kB / 423.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.2907, allocations: 4.375 kB / 423.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.291, allocations: 122.4 kB / 423.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.291, allocations: 192 / 423.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.291, allocations: 3.938 kB / 423.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/0.291, allocations: 8 kB / 423.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.966e-05/0.2911, allocations: 27.92 kB / 424 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.2916, allocations: 354 kB / 424.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.2917, allocations: 79.66 kB / 424.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.832e-05/0.2918, allocations: 38.62 kB / 424.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-06/0.2918, allocations: 0 / 424.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.2918, allocations: 38.56 kB / 424.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2918, allocations: 7.938 kB / 424.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003044/0.2921, allocations: 93.53 kB / 424.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.977e-05/0.2922, allocations: 110.8 kB / 424.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.2923, allocations: 133.8 kB / 424.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.2924, allocations: 25.7 kB / 424.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.2924, allocations: 96.45 kB / 424.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.2924, allocations: 11.94 kB / 424.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.2925, allocations: 21.67 kB / 425 MB, free: 11.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2926, allocations: 322.8 kB / 425.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/0.2927, allocations: 8 kB / 425.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.464e-05/0.2927, allocations: 35.42 kB / 425.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.2928, allocations: 63.28 kB / 425.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2928, allocations: 0 / 425.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001319/0.2929, allocations: 65.62 kB / 425.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.293, allocations: 8 kB / 425.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.293, allocations: 8.109 kB / 425.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.293, allocations: 0 / 425.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.222e-05/0.293, allocations: 7.938 kB / 425.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.293, allocations: 0 / 425.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.676e-05/0.293, allocations: 4 kB / 425.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.2931, allocations: 0 / 425.5 MB, free: 10.65 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.0001129/0.2932, allocations: 129.7 kB / 425.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.914e-05/0.2933, allocations: 49.66 kB / 425.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.2933, allocations: 15.89 kB / 425.7 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.2933, allocations: 0 / 425.7 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.2933, allocations: 8 kB / 425.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2933, allocations: 0 / 425.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.2935, allocations: 177.5 kB / 425.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2936, allocations: 0 / 425.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-05/0.2936, allocations: 11.92 kB / 425.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.2936, allocations: 4 kB / 425.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.2936, allocations: 0 / 425.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2936, allocations: 0 / 425.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2936, allocations: 0 / 425.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.2938, allocations: 251.6 kB / 426.1 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.2939, allocations: 93.05 kB / 426.2 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.2939, allocations: 7.938 kB / 426.2 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.801e-05/0.294, allocations: 0 / 426.2 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.294, allocations: 15.92 kB / 426.2 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.294, allocations: 144 / 426.2 MB, free: 9.793 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.767e-05/0.2941, allocations: 105.9 kB / 426.3 MB, free: 9.691 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2941, allocations: 0 / 426.3 MB, free: 9.691 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.2944, allocations: 11.95 kB / 426.3 MB, free: 9.68 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.0001199/0.2945, allocations: 107.2 kB / 426.4 MB, free: 9.566 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.2947, allocations: 40.03 kB / 426.5 MB, free: 9.527 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2947, allocations: 4 kB / 426.5 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.53e-05/0.2947, allocations: 11.98 kB / 426.5 MB, free: 9.512 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.2951, allocations: 35.88 kB / 426.5 MB, free: 9.477 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.2955, allocations: 208.1 kB / 426.7 MB, free: 9.238 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.2959, allocations: 0.6965 MB / 427.4 MB, free: 8.516 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/0.2959, allocations: 11.44 kB / 427.4 MB, free: 8.504 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2959, allocations: 0 / 427.4 MB, free: 8.504 MB / 334.1 MB Notification: Performance of Templates: time 0.002613/0.2985, allocations: 0.7994 MB / 428.2 MB, free: 7.707 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/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_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