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.001003/0.001003, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001506/0.002509, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0008427/0.0008427, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001239/0.002082, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8979/0.8979, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1612/1.059, allocations: 52.48 MB / 238.5 MB, free: 7.625 MB / 234.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 1.623e-06/1.623e-06, allocations: 0 / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/1.98e-05, allocations: 2.312 kB / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001868/0.001888, allocations: 1.608 MB / 241.3 MB, free: 4.754 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002242/0.002112, allocations: 153.1 kB / 241.5 MB, free: 4.605 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.529e-05/0.002197, allocations: 0 / 241.5 MB, free: 4.605 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.671e-05/0.002274, allocations: 7.875 kB / 241.5 MB, free: 4.598 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.333e-05/0.002347, allocations: 15.92 kB / 241.5 MB, free: 4.582 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.002538, allocations: 39.83 kB / 241.6 MB, free: 4.543 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.002643, allocations: 36.5 kB / 241.6 MB, free: 4.508 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.528e-05/0.002728, allocations: 15.94 kB / 241.6 MB, free: 4.492 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.726e-05/0.002786, allocations: 28.59 kB / 241.6 MB, free: 4.465 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.444e-05/0.00282, allocations: 13.94 kB / 241.7 MB, free: 4.453 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.002846, allocations: 4 kB / 241.7 MB, free: 4.449 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.002857, allocations: 4 kB / 241.7 MB, free: 4.445 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.843e-05/0.002906, allocations: 15.94 kB / 241.7 MB, free: 4.43 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.002929, allocations: 11.94 kB / 241.7 MB, free: 4.418 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.281e-05/0.003021, allocations: 31.86 kB / 241.7 MB, free: 4.387 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.226e-05/0.003034, allocations: 5.406 kB / 241.7 MB, free: 4.383 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003034, allocations: 0 / 241.7 MB, free: 4.383 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.003047, allocations: 0 / 241.7 MB, free: 4.383 MB / 234.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.0003932/0.00344, allocations: 288.9 kB / 242 MB, free: 4.074 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.003475, allocations: 8.031 kB / 242 MB, free: 4.066 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.00351, allocations: 9.531 kB / 242 MB, free: 4.059 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.00367, allocations: 134.1 kB / 242.2 MB, free: 3.902 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.003689, allocations: 10.03 kB / 242.2 MB, free: 3.895 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.003699, allocations: 384 / 242.2 MB, free: 3.895 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.00387, allocations: 118 kB / 242.3 MB, free: 3.754 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.003877, allocations: 192 / 242.3 MB, free: 3.754 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-06/0.003884, allocations: 4.375 kB / 242.3 MB, free: 3.75 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.003909, allocations: 1.344 kB / 242.3 MB, free: 3.75 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.908e-05/0.003928, allocations: 18.7 kB / 242.3 MB, free: 3.73 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.004113, allocations: 256 kB / 242.6 MB, free: 3.457 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.088e-05/0.004174, allocations: 63.38 kB / 242.6 MB, free: 3.367 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.997e-05/0.004194, allocations: 18.64 kB / 242.6 MB, free: 3.34 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-06/0.0042, allocations: 4.672 kB / 242.6 MB, free: 3.336 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.004219, allocations: 38.5 kB / 242.7 MB, free: 3.289 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.00422, allocations: 0.6875 kB / 242.7 MB, free: 3.289 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001167/0.004337, allocations: 60.73 kB / 242.7 MB, free: 3.227 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.00438, allocations: 110.8 kB / 242.8 MB, free: 3.094 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.308e-05/0.004443, allocations: 140.5 kB / 243 MB, free: 2.945 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.315e-06/0.004452, allocations: 25.7 kB / 243 MB, free: 2.914 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.871e-05/0.00448, allocations: 92.08 kB / 243.1 MB, free: 2.82 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.067e-06/0.004489, allocations: 4 kB / 243.1 MB, free: 2.816 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.004511, allocations: 19.11 kB / 243.1 MB, free: 2.793 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.335e-05/0.004574, allocations: 326.8 kB / 243.4 MB, free: 2.465 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.12e-06/0.004579, allocations: 0 / 243.4 MB, free: 2.465 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.237e-05/0.004592, allocations: 13.72 kB / 243.5 MB, free: 2.445 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.255e-05/0.004614, allocations: 22.44 kB / 243.5 MB, free: 2.418 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.004616, allocations: 0 / 243.5 MB, free: 2.418 MB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.572e-05/0.004652, allocations: 40.77 kB / 243.5 MB, free: 2.375 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.004661, allocations: 4 kB / 243.5 MB, free: 2.371 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.004666, allocations: 4 kB / 243.5 MB, free: 2.367 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.004678, allocations: 3.938 kB / 243.5 MB, free: 2.363 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.356e-05/0.004691, allocations: 0 / 243.5 MB, free: 2.363 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.004696, allocations: 7.969 kB / 243.5 MB, free: 2.355 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.004716, allocations: 8 kB / 243.5 MB, free: 2.348 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.00472, allocations: 0 / 243.5 MB, free: 2.348 MB / 234.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 6.297e-05/0.004783, allocations: 113.6 kB / 243.7 MB, free: 2.227 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.004821, allocations: 41.62 kB / 243.7 MB, free: 2.18 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.143e-05/0.004842, allocations: 8.875 kB / 243.7 MB, free: 2.164 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.004856, allocations: 7.938 kB / 243.7 MB, free: 2.156 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.004858, allocations: 1.781 kB / 243.7 MB, free: 2.156 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.004861, allocations: 0 / 243.7 MB, free: 2.156 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.004968, allocations: 77.88 kB / 243.8 MB, free: 2.062 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.004969, allocations: 0 / 243.8 MB, free: 2.062 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-06/0.004973, allocations: 0 / 243.8 MB, free: 2.062 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.004996, allocations: 20.58 kB / 243.8 MB, free: 2.043 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.004997, allocations: 0 / 243.8 MB, free: 2.043 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-06/0.005001, allocations: 0.5 kB / 243.8 MB, free: 2.043 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.005002, allocations: 4.844 kB / 243.8 MB, free: 2.039 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.005004, allocations: 3.938 kB / 243.8 MB, free: 2.035 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.786e-05/0.005091, allocations: 224.1 kB / 244 MB, free: 1.797 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.005101, allocations: 0 / 244 MB, free: 1.797 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.059e-05/0.005152, allocations: 4 kB / 244 MB, free: 1.793 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.005186, allocations: 11.86 kB / 244.1 MB, free: 1.781 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.00519, allocations: 4.562 kB / 244.1 MB, free: 1.777 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.163e-05/0.005212, allocations: 31.02 kB / 244.1 MB, free: 1.746 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005212, allocations: 0 / 244.1 MB, free: 1.746 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001331/0.005345, allocations: 7.938 kB / 244.1 MB, free: 1.738 MB / 234.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 7.011e-05/0.005415, allocations: 84.42 kB / 244.2 MB, free: 1.648 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.098e-05/0.005476, allocations: 20.78 kB / 244.2 MB, free: 1.625 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.00548, allocations: 0 / 244.2 MB, free: 1.625 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.405e-05/0.005494, allocations: 8.859 kB / 244.2 MB, free: 1.613 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.00576, allocations: 120.8 kB / 244.3 MB, free: 1.473 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/0.006145, allocations: 176.1 kB / 244.5 MB, free: 1.27 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.619e-05/0.006191, allocations: 59.34 kB / 244.6 MB, free: 1.191 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 1.937e-05/0.00621, allocations: 4 kB / 244.6 MB, free: 1.188 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.728e-05/0.006268, allocations: 59.36 kB / 244.6 MB, free: 1.129 MB / 234.7 MB Notification: Performance of SimCode: time 5.81e-07/0.006268, allocations: 4 kB / 244.6 MB, free: 1.125 MB / 234.7 MB Notification: Performance of Templates: time 0.002195/0.008464, allocations: 0.6781 MB / 245.3 MB, free: 484 kB / 234.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5888719419017434]