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.001859/0.001859, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002037/0.002037, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.001585/0.001585, allocations: 47.86 kB / 378.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2479, allocations: 53.36 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002983/0.2509, allocations: 1.547 MB / 433.1 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003928/0.2513, allocations: 139.5 kB / 433.3 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.139e-05/0.2513, allocations: 4 kB / 433.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.56e-05/0.2514, allocations: 7.875 kB / 433.3 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.499e-05/0.2515, allocations: 7.938 kB / 433.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.2517, allocations: 39.89 kB / 433.3 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.2518, allocations: 43.86 kB / 433.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.252, allocations: 11.98 kB / 433.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.633e-05/0.252, allocations: 19.92 kB / 433.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.485e-05/0.252, allocations: 11.88 kB / 433.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.252, allocations: 7.938 kB / 433.4 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.2521, allocations: 0 / 433.4 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.2521, allocations: 19.97 kB / 433.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.2522, allocations: 19.81 kB / 433.4 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.2523, allocations: 58.27 kB / 433.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2523, allocations: 4 kB / 433.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2523, allocations: 4 kB / 433.5 MB, free: 4.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2523, allocations: 0 / 433.5 MB, free: 4.793 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.000569/0.2529, allocations: 297.7 kB / 433.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.2529, allocations: 12.03 kB / 433.8 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.2529, allocations: 8.891 kB / 433.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.2532, allocations: 140.1 kB / 434 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.2532, allocations: 4.312 kB / 434 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.2532, allocations: 4.375 kB / 434 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.2535, allocations: 122.4 kB / 434.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2536, allocations: 192 / 434.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.2536, allocations: 7.938 kB / 434.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.2536, allocations: 4 kB / 434.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.434e-05/0.2537, allocations: 31.91 kB / 434.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.2541, allocations: 305.5 kB / 434.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.2542, allocations: 75.78 kB / 434.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.494e-05/0.2543, allocations: 38.56 kB / 434.5 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.2543, allocations: 4 kB / 434.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.2544, allocations: 34.56 kB / 434.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2544, allocations: 0 / 434.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003074/0.2547, allocations: 97.48 kB / 434.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.66e-05/0.2547, allocations: 106.8 kB / 434.8 MB, free: 3.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.2549, allocations: 133.8 kB / 434.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.2549, allocations: 26.08 kB / 434.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.255, allocations: 92.12 kB / 435 MB, free: 3.074 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.255, allocations: 11.95 kB / 435 MB, free: 3.062 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.255, allocations: 17.72 kB / 435 MB, free: 3.039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2552, allocations: 318.8 kB / 435.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.48e-05/0.2552, allocations: 8 kB / 435.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.859e-05/0.2553, allocations: 43.36 kB / 435.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.2554, allocations: 55.34 kB / 435.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2554, allocations: 0 / 435.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000155/0.2556, allocations: 81.45 kB / 435.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2556, allocations: 6.656 kB / 435.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2556, allocations: 0 / 435.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.2556, allocations: 7.984 kB / 435.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.138e-05/0.2556, allocations: 0 / 435.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2556, allocations: 0 / 435.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.706e-05/0.2557, allocations: 8.125 kB / 435.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.2557, allocations: 4 kB / 435.6 MB, free: 2.48 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.0001211/0.2558, allocations: 129.7 kB / 435.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.89e-05/0.2559, allocations: 49.59 kB / 435.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.2559, allocations: 19.91 kB / 435.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.2559, allocations: 4 kB / 435.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2559, allocations: 0 / 435.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.2559, allocations: 0 / 435.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.2561, allocations: 125.3 kB / 435.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2562, allocations: 7.969 kB / 435.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.985e-06/0.2562, allocations: 4 kB / 435.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.2562, allocations: 0 / 435.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.2562, allocations: 0 / 435.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2562, allocations: 0 / 435.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.2562, allocations: 7.984 kB / 435.9 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.2564, allocations: 255.6 kB / 436.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.492e-05/0.2565, allocations: 19.88 kB / 436.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.2565, allocations: 7.938 kB / 436.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.882e-05/0.2566, allocations: 0 / 436.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.2566, allocations: 11.98 kB / 436.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.2566, allocations: 0 / 436.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.64e-05/0.2567, allocations: 103.3 kB / 436.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2567, allocations: 0 / 436.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.257, allocations: 8 kB / 436.3 MB, free: 1.672 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.0001304/0.2571, allocations: 99.23 kB / 436.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.2572, allocations: 39.92 kB / 436.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2573, allocations: 4.25 kB / 436.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.797e-05/0.2573, allocations: 19.86 kB / 436.5 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.0004296/0.2577, allocations: 31.95 kB / 436.5 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/0.2581, allocations: 167.3 kB / 436.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.2583, allocations: 75.33 kB / 436.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.53e-05/0.2583, allocations: 7.984 kB / 436.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.2583, allocations: 11.44 kB / 436.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2583, allocations: 4.219 kB / 436.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of Templates: time 0.003366/0.2617, allocations: 0.6763 MB / 437.4 MB, free: 0.5 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.507267827168107]