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.001468/0.001468, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.001498/0.001498, allocations: 149.4 kB / 24.25 MB, free: 184 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.491/1.491, allocations: 173.3 MB / 200.8 MB, free: 9.297 MB / 186.7 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 1.332e-06/1.332e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.741e-05, allocations: 2.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002899/0.002926, allocations: 1.53 MB / 268.8 MB, free: 5.168 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000443/0.003369, allocations: 139.4 kB / 269 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.291e-05/0.003432, allocations: 0 / 269 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.003536, allocations: 19.86 kB / 269 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.068e-05/0.003616, allocations: 7.938 kB / 269 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.003822, allocations: 35.84 kB / 269 MB, free: 4.969 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.003927, allocations: 47.78 kB / 269.1 MB, free: 4.922 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.624e-05/0.004023, allocations: 11.98 kB / 269.1 MB, free: 4.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.004e-05/0.004073, allocations: 19.97 kB / 269.1 MB, free: 4.891 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.942e-05/0.004113, allocations: 15.92 kB / 269.1 MB, free: 4.875 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.004134, allocations: 4 kB / 269.1 MB, free: 4.871 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.241e-05/0.004146, allocations: 4 kB / 269.1 MB, free: 4.867 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.195e-05/0.004208, allocations: 11.94 kB / 269.2 MB, free: 4.855 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.004247, allocations: 15.92 kB / 269.2 MB, free: 4.84 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.004374, allocations: 47.81 kB / 269.2 MB, free: 4.793 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.004377, allocations: 4 kB / 269.2 MB, free: 4.789 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004378, allocations: 0 / 269.2 MB, free: 4.789 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.004382, allocations: 0 / 269.2 MB, free: 4.789 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.0004826/0.004865, allocations: 298 kB / 269.5 MB, free: 4.465 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.004902, allocations: 12.92 kB / 269.5 MB, free: 4.453 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.004952, allocations: 16.88 kB / 269.5 MB, free: 4.438 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.005199, allocations: 141.5 kB / 269.7 MB, free: 4.273 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.005224, allocations: 4.375 kB / 269.7 MB, free: 4.27 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.005236, allocations: 4.375 kB / 269.7 MB, free: 4.266 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.005522, allocations: 118.5 kB / 269.8 MB, free: 4.129 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.005529, allocations: 192 / 269.8 MB, free: 4.129 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.005538, allocations: 384 / 269.8 MB, free: 4.129 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/0.005561, allocations: 8.312 kB / 269.8 MB, free: 4.121 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.005663, allocations: 35.86 kB / 269.8 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.006105, allocations: 305.6 kB / 270.1 MB, free: 3.75 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.006255, allocations: 79.78 kB / 270.2 MB, free: 3.645 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.332e-05/0.006328, allocations: 30.62 kB / 270.3 MB, free: 3.605 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.00634, allocations: 4 kB / 270.3 MB, free: 3.602 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.006374, allocations: 34.5 kB / 270.3 MB, free: 3.559 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.006375, allocations: 0 / 270.3 MB, free: 3.559 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003297/0.006705, allocations: 97.48 kB / 270.4 MB, free: 3.457 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.581e-05/0.0068, allocations: 111.2 kB / 270.5 MB, free: 3.324 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.006973, allocations: 148.6 kB / 270.6 MB, free: 3.172 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.006994, allocations: 25.7 kB / 270.7 MB, free: 3.141 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.007074, allocations: 88.14 kB / 270.8 MB, free: 3.051 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/0.007082, allocations: 0 / 270.8 MB, free: 3.051 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.56e-05/0.007128, allocations: 21.67 kB / 270.8 MB, free: 3.023 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.007308, allocations: 314.8 kB / 271.1 MB, free: 2.707 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.853e-05/0.007357, allocations: 15.94 kB / 271.1 MB, free: 2.691 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.762e-05/0.007404, allocations: 21.7 kB / 271.1 MB, free: 2.664 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.171e-05/0.007496, allocations: 33.77 kB / 271.1 MB, free: 2.625 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.007498, allocations: 0 / 271.1 MB, free: 2.625 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001292/0.007627, allocations: 53.62 kB / 271.2 MB, free: 2.566 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.007647, allocations: 11.94 kB / 271.2 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.007651, allocations: 0 / 271.2 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.007664, allocations: 0 / 271.2 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.863e-05/0.007682, allocations: 3.984 kB / 271.2 MB, free: 2.551 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.007689, allocations: 4 kB / 271.2 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.007719, allocations: 0 / 271.2 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.007724, allocations: 4.062 kB / 271.2 MB, free: 2.543 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 0.0001191/0.007843, allocations: 129.8 kB / 271.4 MB, free: 2.406 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.00796, allocations: 57.53 kB / 271.4 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.007994, allocations: 19.91 kB / 271.4 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.008006, allocations: 0 / 271.4 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.00801, allocations: 4 kB / 271.4 MB, free: 2.316 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.008012, allocations: 0 / 271.4 MB, free: 2.316 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.008228, allocations: 121.3 kB / 271.5 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.00823, allocations: 0 / 271.5 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.047e-06/0.008239, allocations: 7.922 kB / 271.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.008246, allocations: 12.03 kB / 271.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.008257, allocations: 3.938 kB / 271.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.008258, allocations: 0 / 271.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.008259, allocations: 0 / 271.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.00854, allocations: 255.6 kB / 271.8 MB, free: 1.875 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.008581, allocations: 15.94 kB / 271.8 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.008599, allocations: 7.938 kB / 271.8 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.356e-05/0.008693, allocations: 0 / 271.8 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.008733, allocations: 4 kB / 271.8 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.00874, allocations: 7.984 kB / 271.9 MB, free: 1.84 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.164e-05/0.008831, allocations: 105.9 kB / 272 MB, free: 1.738 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008831, allocations: 0 / 272 MB, free: 1.738 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002665/0.009098, allocations: 8 kB / 272 MB, free: 1.73 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.000122/0.00922, allocations: 95.25 kB / 272.1 MB, free: 1.629 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.009374, allocations: 43.91 kB / 272.1 MB, free: 1.586 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009375, allocations: 0 / 272.1 MB, free: 1.586 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.922e-05/0.009424, allocations: 12.12 kB / 272.1 MB, free: 1.574 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.009865, allocations: 32.52 kB / 272.1 MB, free: 1.539 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.01027, allocations: 188.6 kB / 272.3 MB, free: 1.328 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.01038, allocations: 75.33 kB / 272.4 MB, free: 1.234 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.832e-05/0.01042, allocations: 7.984 kB / 272.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.01046, allocations: 8.5 kB / 272.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01046, allocations: 4 kB / 272.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of Templates: time 0.003419/0.01388, allocations: 0.6532 MB / 273.1 MB, free: 0.5781 MB / 250.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=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.105735371937044]