Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001626/0.001626, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002108/0.002108, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.735/1.735, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 59.89 kB / 378.8 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3641, allocations: 53.36 MB / 432.1 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003973/0.3681, allocations: 1.546 MB / 433.7 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006186/0.3687, allocations: 151.4 kB / 433.8 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.3688, allocations: 4 kB / 433.8 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.369, allocations: 7.922 kB / 433.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.3692, allocations: 7.875 kB / 433.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.3695, allocations: 43.89 kB / 433.9 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.3696, allocations: 35.86 kB / 433.9 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.3698, allocations: 15.97 kB / 433.9 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.135e-05/0.3698, allocations: 11.94 kB / 433.9 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.548e-05/0.3698, allocations: 19.92 kB / 433.9 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.3699, allocations: 0 / 433.9 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.713e-05/0.3699, allocations: 8 kB / 434 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.266e-05/0.37, allocations: 15.92 kB / 434 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.779e-05/0.37, allocations: 27.81 kB / 434 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.3702, allocations: 59.47 kB / 434.1 MB, free: 5.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3702, allocations: 0 / 434.1 MB, free: 5.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3702, allocations: 0 / 434.1 MB, free: 5.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.3703, allocations: 0 / 434.1 MB, free: 5.133 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.0007003/0.371, allocations: 303.9 kB / 434.4 MB, free: 4.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/0.371, allocations: 8.031 kB / 434.4 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.219e-05/0.3711, allocations: 12.89 kB / 434.4 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.3714, allocations: 137 kB / 434.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.3715, allocations: 8.312 kB / 434.5 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.3715, allocations: 4.375 kB / 434.5 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/0.3719, allocations: 122.4 kB / 434.6 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.3719, allocations: 4.125 kB / 434.6 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.3719, allocations: 7.938 kB / 434.7 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-05/0.3719, allocations: 11.92 kB / 434.7 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.372, allocations: 23.98 kB / 434.7 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005443/0.3726, allocations: 329 kB / 435 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.3727, allocations: 83.64 kB / 435.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.938e-05/0.3728, allocations: 30.7 kB / 435.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.3728, allocations: 0 / 435.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.3729, allocations: 42.55 kB / 435.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.3729, allocations: 0 / 435.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003171/0.3732, allocations: 89.5 kB / 435.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.977e-05/0.3733, allocations: 106.8 kB / 435.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.3734, allocations: 146.2 kB / 435.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.3734, allocations: 25.7 kB / 435.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.3735, allocations: 92.12 kB / 435.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.3735, allocations: 3.953 kB / 435.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.3736, allocations: 21.7 kB / 435.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3737, allocations: 318.8 kB / 435.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.118e-05/0.3738, allocations: 11.98 kB / 436 MB, free: 3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.621e-05/0.3738, allocations: 39.42 kB / 436 MB, free: 2.949 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.374, allocations: 55.3 kB / 436.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.374, allocations: 0 / 436.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001554/0.3741, allocations: 73.56 kB / 436.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.3741, allocations: 11.94 kB / 436.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3741, allocations: 0 / 436.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.3742, allocations: 0 / 436.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.755e-05/0.3742, allocations: 4 kB / 436.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.3742, allocations: 0 / 436.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.943e-05/0.3742, allocations: 7.984 kB / 436.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.3742, allocations: 0 / 436.1 MB, free: 2.781 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.0001522/0.3744, allocations: 133.8 kB / 436.3 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-05/0.3745, allocations: 53.58 kB / 436.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.3745, allocations: 15.92 kB / 436.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.3745, allocations: 7.922 kB / 436.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.3746, allocations: 4 kB / 436.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3746, allocations: 0 / 436.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.3748, allocations: 144.7 kB / 436.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.3748, allocations: 4 kB / 436.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-06/0.3748, allocations: 0 / 436.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3748, allocations: 8.031 kB / 436.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3748, allocations: 0 / 436.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3748, allocations: 0 / 436.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.3748, allocations: 7.938 kB / 436.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.3751, allocations: 259.5 kB / 436.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.3752, allocations: 19.95 kB / 436.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.3752, allocations: 0 / 436.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-05/0.3753, allocations: 7.984 kB / 436.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.3753, allocations: 0 / 436.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.3753, allocations: 4 kB / 436.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.863e-05/0.3754, allocations: 109.8 kB / 436.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3754, allocations: 0 / 436.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.3757, allocations: 4 kB / 436.9 MB, free: 1.934 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.0001474/0.3759, allocations: 103.2 kB / 437 MB, free: 1.824 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.3761, allocations: 39.91 kB / 437.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3761, allocations: 0 / 437.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.772e-05/0.3761, allocations: 8 kB / 437.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004944/0.3766, allocations: 32.03 kB / 437.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.377, allocations: 187.7 kB / 437.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.3775, allocations: 0.6924 MB / 438 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.151e-05/0.3775, allocations: 7.984 kB / 438 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.3775, allocations: 7.438 kB / 438 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3775, allocations: 0 / 438 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of Templates: time 0.004226/0.3818, allocations: 0.6302 MB / 438.6 MB, free: 184 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.453273072838783]