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.001274/0.001274, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001365/0.001365, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.474/1.474, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001588/0.001588, allocations: 51.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2422, allocations: 53.36 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002853/0.245, allocations: 1.539 MB / 433.9 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003883/0.2454, allocations: 139.5 kB / 434 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.559e-05/0.2455, allocations: 4 kB / 434 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.205e-05/0.2456, allocations: 15.86 kB / 434 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.225e-05/0.2457, allocations: 7.875 kB / 434 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.2459, allocations: 39.89 kB / 434.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.246, allocations: 35.92 kB / 434.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.2461, allocations: 15.78 kB / 434.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.508e-05/0.2461, allocations: 19.92 kB / 434.1 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.705e-05/0.2462, allocations: 19.86 kB / 434.2 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.2462, allocations: 4 kB / 434.2 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.2462, allocations: 0 / 434.2 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.2462, allocations: 19.92 kB / 434.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.2463, allocations: 19.81 kB / 434.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.2464, allocations: 59.41 kB / 434.3 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2464, allocations: 3.984 kB / 434.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2464, allocations: 0 / 434.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.2464, allocations: 0 / 434.3 MB, free: 4.777 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.0004463/0.2469, allocations: 297.2 kB / 434.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2469, allocations: 12.03 kB / 434.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.2469, allocations: 8.891 kB / 434.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.2471, allocations: 130.4 kB / 434.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.2472, allocations: 4.375 kB / 434.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.2472, allocations: 12.36 kB / 434.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.2475, allocations: 114.5 kB / 434.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.2475, allocations: 4.125 kB / 434.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2475, allocations: 7.938 kB / 434.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/0.2475, allocations: 7.984 kB / 434.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.11e-05/0.2476, allocations: 23.98 kB / 434.9 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.248, allocations: 305.5 kB / 435.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.2481, allocations: 83.77 kB / 435.3 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.268e-05/0.2482, allocations: 30.58 kB / 435.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.2482, allocations: 0 / 435.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.2482, allocations: 42.55 kB / 435.3 MB, free: 3.559 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2482, allocations: 0 / 435.3 MB, free: 3.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002852/0.2485, allocations: 93.88 kB / 435.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/0.2486, allocations: 106.8 kB / 435.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.2487, allocations: 144.6 kB / 435.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.2487, allocations: 25.7 kB / 435.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.2488, allocations: 84.14 kB / 435.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.2488, allocations: 11.95 kB / 435.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.2488, allocations: 25.64 kB / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.249, allocations: 314.8 kB / 436.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.765e-05/0.249, allocations: 11.98 kB / 436.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.544e-05/0.2491, allocations: 35.42 kB / 436.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.2492, allocations: 55.36 kB / 436.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2492, allocations: 0 / 436.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001527/0.2493, allocations: 85.44 kB / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.2493, allocations: 4 kB / 436.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2493, allocations: 0 / 436.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2494, allocations: 4.125 kB / 436.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.755e-05/0.2494, allocations: 4 kB / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.2494, allocations: 0 / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.041e-05/0.2494, allocations: 8 kB / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.974e-06/0.2494, allocations: 3.984 kB / 436.3 MB, free: 2.469 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.000105/0.2495, allocations: 133.7 kB / 436.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.246e-05/0.2496, allocations: 53.58 kB / 436.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.2497, allocations: 11.92 kB / 436.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.2497, allocations: 7.984 kB / 436.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2497, allocations: 0 / 436.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.2497, allocations: 4.031 kB / 436.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.2499, allocations: 117.3 kB / 436.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.2499, allocations: 4.031 kB / 436.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-06/0.2499, allocations: 0 / 436.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2499, allocations: 7.984 kB / 436.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.433e-06/0.2499, allocations: 3.938 kB / 436.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2499, allocations: 0 / 436.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2499, allocations: 4 kB / 436.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.2502, allocations: 259.5 kB / 436.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.2502, allocations: 19.89 kB / 436.9 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.2502, allocations: 7.984 kB / 436.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.262e-05/0.2503, allocations: 0 / 436.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.2503, allocations: 4 kB / 436.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.2503, allocations: 0 / 436.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.25e-05/0.2504, allocations: 110.2 kB / 437.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2504, allocations: 0 / 437.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.2507, allocations: 8 kB / 437.1 MB, free: 1.66 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.0001007/0.2508, allocations: 97.92 kB / 437.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.251, allocations: 47.91 kB / 437.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.251, allocations: 0 / 437.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.311e-05/0.251, allocations: 8 kB / 437.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.2514, allocations: 40.84 kB / 437.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003364/0.2518, allocations: 175.3 kB / 437.4 MB, free: 1.266 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.921e-05/0.2519, allocations: 75.8 kB / 437.5 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.377e-05/0.2519, allocations: 11.98 kB / 437.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.2519, allocations: 11.44 kB / 437.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2519, allocations: 0 / 437.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of Templates: time 0.003215/0.2551, allocations: 0.6815 MB / 438.2 MB, free: 496 kB / 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/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.2863657910056645]