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.0009349/0.0009349, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.0009143/0.0009143, allocations: 149.2 kB / 24.98 MB, free: 8.887 MB / 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 0.9775/0.9775, allocations: 173.4 MB / 201.5 MB, free: 9.316 MB / 186.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 2.024e-06/2.024e-06, allocations: 0 / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/2.98e-05, allocations: 5.688 kB / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002531/0.002561, allocations: 1.561 MB / 269.6 MB, free: 5.145 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003326/0.002894, allocations: 147.5 kB / 269.8 MB, free: 5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.945e-05/0.002973, allocations: 3.938 kB / 269.8 MB, free: 4.996 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.003078, allocations: 7.938 kB / 269.8 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.575e-05/0.003174, allocations: 15.91 kB / 269.8 MB, free: 4.973 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.00337, allocations: 43.78 kB / 269.8 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.003471, allocations: 39.84 kB / 269.9 MB, free: 4.891 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.00358, allocations: 8 kB / 269.9 MB, free: 4.883 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.606e-05/0.003626, allocations: 23.97 kB / 269.9 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.911e-05/0.003655, allocations: 11.92 kB / 269.9 MB, free: 4.848 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.003679, allocations: 4 kB / 269.9 MB, free: 4.844 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-06/0.003688, allocations: 0 / 269.9 MB, free: 4.844 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/0.003741, allocations: 19.92 kB / 270 MB, free: 4.824 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.003768, allocations: 12 kB / 270 MB, free: 4.812 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.927e-05/0.003868, allocations: 43.77 kB / 270 MB, free: 4.77 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.003869, allocations: 0 / 270 MB, free: 4.77 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.00387, allocations: 0 / 270 MB, free: 4.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.003875, allocations: 0 / 270 MB, free: 4.77 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.0006551/0.00453, allocations: 396.4 kB / 270.4 MB, free: 4.344 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.004569, allocations: 12.86 kB / 270.4 MB, free: 4.332 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.004609, allocations: 12.89 kB / 270.4 MB, free: 4.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.004803, allocations: 152.3 kB / 270.6 MB, free: 4.145 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.004825, allocations: 384 / 270.6 MB, free: 4.145 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.004836, allocations: 8.375 kB / 270.6 MB, free: 4.137 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.005087, allocations: 129.2 kB / 270.7 MB, free: 3.98 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.005099, allocations: 192 / 270.7 MB, free: 3.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.00511, allocations: 4.375 kB / 270.7 MB, free: 3.977 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.294e-05/0.005143, allocations: 4.359 kB / 270.7 MB, free: 3.973 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.055e-05/0.005173, allocations: 15.88 kB / 270.7 MB, free: 3.957 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.005521, allocations: 406.4 kB / 271.1 MB, free: 3.516 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.589e-05/0.005597, allocations: 85.25 kB / 271.2 MB, free: 3.395 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.33e-05/0.00563, allocations: 31.12 kB / 271.2 MB, free: 3.352 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/0.005638, allocations: 3.938 kB / 271.2 MB, free: 3.348 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.005665, allocations: 37.39 kB / 271.3 MB, free: 3.301 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.005666, allocations: 3.938 kB / 271.3 MB, free: 3.297 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001754/0.005842, allocations: 61.52 kB / 271.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.0059, allocations: 110.8 kB / 271.5 MB, free: 3.098 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.006, allocations: 200.9 kB / 271.6 MB, free: 2.887 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.946e-06/0.006009, allocations: 29.7 kB / 271.7 MB, free: 2.852 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.006064, allocations: 138.9 kB / 271.8 MB, free: 2.711 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.897e-06/0.006073, allocations: 3.938 kB / 271.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.006103, allocations: 27.33 kB / 271.8 MB, free: 2.672 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.006209, allocations: 0.4923 MB / 272.3 MB, free: 2.168 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.006221, allocations: 0 / 272.3 MB, free: 2.168 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.823e-05/0.006239, allocations: 19.38 kB / 272.4 MB, free: 2.141 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.641e-05/0.006265, allocations: 19.38 kB / 272.4 MB, free: 2.113 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.006268, allocations: 4.062 kB / 272.4 MB, free: 2.109 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.829e-05/0.006316, allocations: 45.62 kB / 272.4 MB, free: 2.059 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.00633, allocations: 11.94 kB / 272.4 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.006335, allocations: 0 / 272.4 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.006349, allocations: 0 / 272.4 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.659e-05/0.006366, allocations: 0 / 272.4 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.006372, allocations: 4 kB / 272.4 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.224e-05/0.006394, allocations: 0 / 272.4 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.006398, allocations: 0 / 272.4 MB, free: 2.043 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 7.148e-05/0.00647, allocations: 160.6 kB / 272.6 MB, free: 1.875 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003661/0.006836, allocations: 49.64 kB / 272.6 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.006863, allocations: 11.91 kB / 272.7 MB, free: 1.805 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.006876, allocations: 4 kB / 272.7 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.00688, allocations: 4 kB / 272.7 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.006883, allocations: 0 / 272.7 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.007012, allocations: 136.6 kB / 272.8 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.007015, allocations: 0 / 272.8 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-06/0.00702, allocations: 0 / 272.8 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.007022, allocations: 4 kB / 272.8 MB, free: 1.625 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.007027, allocations: 0 / 272.8 MB, free: 1.625 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.007029, allocations: 7.969 kB / 272.8 MB, free: 1.617 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.007032, allocations: 7.938 kB / 272.8 MB, free: 1.609 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.007167, allocations: 326.8 kB / 273.1 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.007193, allocations: 11.98 kB / 273.1 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.629e-06/0.007203, allocations: 3.938 kB / 273.1 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.321e-05/0.007256, allocations: 7.938 kB / 273.2 MB, free: 1.242 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.007293, allocations: 3.984 kB / 273.2 MB, free: 1.238 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.007297, allocations: 8 kB / 273.2 MB, free: 1.23 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.026e-05/0.007348, allocations: 141.5 kB / 273.3 MB, free: 1.094 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007348, allocations: 0 / 273.3 MB, free: 1.094 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001672/0.007515, allocations: 11.95 kB / 273.3 MB, free: 1.082 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 7.611e-05/0.007591, allocations: 103.2 kB / 273.4 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.822e-05/0.007669, allocations: 23.67 kB / 273.4 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007671, allocations: 0 / 273.4 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.594e-05/0.007687, allocations: 15.62 kB / 273.5 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.007991, allocations: 20.61 kB / 273.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002739/0.008265, allocations: 177 kB / 273.6 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.287e-05/0.008308, allocations: 63.34 kB / 273.7 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.172e-05/0.00833, allocations: 8.234 kB / 273.7 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.008355, allocations: 8.5 kB / 273.7 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008356, allocations: 0 / 273.7 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of Templates: time 0.002197/0.01055, allocations: 0.664 MB / 274.4 MB, free: 15.96 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7128364329691976]