Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002121/0.002121, allocations: 212.6 kB / 23.72 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.574/1.574, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 51.92 kB / 378.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3636, allocations: 53.38 MB / 431.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003843/0.3675, allocations: 1.528 MB / 433.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005166/0.368, allocations: 139.5 kB / 433.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.3681, allocations: 7.938 kB / 433.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.3682, allocations: 11.94 kB / 433.3 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.3683, allocations: 7.922 kB / 433.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.3686, allocations: 35.91 kB / 433.3 MB, free: 5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.3687, allocations: 47.78 kB / 433.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.3688, allocations: 11.98 kB / 433.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.297e-05/0.3689, allocations: 19.92 kB / 433.4 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.23e-05/0.3689, allocations: 15.92 kB / 433.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.3689, allocations: 0 / 433.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.3689, allocations: 4 kB / 433.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.362e-05/0.369, allocations: 15.94 kB / 433.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.369, allocations: 19.81 kB / 433.4 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.3692, allocations: 58.27 kB / 433.5 MB, free: 4.816 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3692, allocations: 4 kB / 433.5 MB, free: 4.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3692, allocations: 0 / 433.5 MB, free: 4.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3692, allocations: 0 / 433.5 MB, free: 4.812 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.0005554/0.3698, allocations: 297.7 kB / 433.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3698, allocations: 12.03 kB / 433.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.3698, allocations: 12.77 kB / 433.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.3701, allocations: 145.2 kB / 434 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.3701, allocations: 4.375 kB / 434 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.3702, allocations: 12.36 kB / 434 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.3705, allocations: 118.5 kB / 434.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3705, allocations: 192 / 434.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.3705, allocations: 3.938 kB / 434.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.3705, allocations: 4 kB / 434.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.837e-05/0.3706, allocations: 27.92 kB / 434.1 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.3711, allocations: 305.6 kB / 434.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.3713, allocations: 75.72 kB / 434.5 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.281e-05/0.3713, allocations: 38.62 kB / 434.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.3714, allocations: 0 / 434.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/0.3714, allocations: 38.5 kB / 434.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3714, allocations: 0 / 434.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003375/0.3717, allocations: 97.89 kB / 434.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.3718, allocations: 110.8 kB / 434.8 MB, free: 3.352 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.372, allocations: 133.8 kB / 434.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.372, allocations: 29.7 kB / 434.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.909e-05/0.3721, allocations: 92.06 kB / 435 MB, free: 3.082 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.3721, allocations: 7.953 kB / 435 MB, free: 3.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.3721, allocations: 17.72 kB / 435 MB, free: 3.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.3724, allocations: 318.8 kB / 435.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-05/0.3724, allocations: 8 kB / 435.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.05e-05/0.3725, allocations: 39.42 kB / 435.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.3727, allocations: 59.34 kB / 435.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3727, allocations: 0 / 435.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001497/0.3728, allocations: 73.52 kB / 435.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3728, allocations: 8 kB / 435.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.3728, allocations: 7.922 kB / 435.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3728, allocations: 4.125 kB / 435.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.591e-05/0.3729, allocations: 8 kB / 435.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.3729, allocations: 3.938 kB / 435.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.33e-05/0.3729, allocations: 4 kB / 435.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.3729, allocations: 0 / 435.6 MB, free: 2.488 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.0002142/0.3731, allocations: 129.7 kB / 435.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.024e-05/0.3732, allocations: 45.66 kB / 435.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.3733, allocations: 19.91 kB / 435.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.3733, allocations: 7.938 kB / 435.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3733, allocations: 4.031 kB / 435.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3733, allocations: 0 / 435.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.3735, allocations: 121.3 kB / 435.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.3735, allocations: 3.938 kB / 435.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-06/0.3735, allocations: 0 / 435.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3735, allocations: 4 kB / 435.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.3735, allocations: 0 / 435.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3735, allocations: 3.938 kB / 435.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3735, allocations: 0 / 435.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.3738, allocations: 255.6 kB / 436.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.3738, allocations: 19.88 kB / 436.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.3738, allocations: 4 kB / 436.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.855e-05/0.3739, allocations: 4.141 kB / 436.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.374, allocations: 11.97 kB / 436.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-06/0.374, allocations: 0 / 436.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.89e-05/0.3741, allocations: 106.1 kB / 436.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3741, allocations: 0 / 436.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.3743, allocations: 8 kB / 436.3 MB, free: 1.688 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.0001145/0.3745, allocations: 103.2 kB / 436.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001582/0.3746, allocations: 43.92 kB / 436.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3746, allocations: 0 / 436.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.791e-05/0.3747, allocations: 11.98 kB / 436.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.3751, allocations: 30.94 kB / 436.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.3755, allocations: 179.2 kB / 436.7 MB, free: 1.289 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.3756, allocations: 79.78 kB / 436.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.266e-05/0.3756, allocations: 11.94 kB / 436.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.3757, allocations: 11.44 kB / 436.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3757, allocations: 0 / 436.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of Templates: time 0.00368/0.3794, allocations: 0.6942 MB / 437.5 MB, free: 0.4922 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.690115807112306]