Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.008976/0.008976, allocations: 108.3 kB / 21.97 MB, free: 5.184 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.002383/0.002383, allocations: 220.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 259 MB, free: 8.031 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 59.91 kB / 379.8 MB, free: 2.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2499, allocations: 53.37 MB / 433.2 MB, free: 7.012 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003049/0.2529, allocations: 1.554 MB / 434.7 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004151/0.2533, allocations: 143.5 kB / 434.9 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.423e-05/0.2534, allocations: 3.938 kB / 434.9 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.2535, allocations: 7.938 kB / 434.9 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.163e-05/0.2536, allocations: 7.922 kB / 434.9 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.2538, allocations: 39.84 kB / 434.9 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.254, allocations: 43.84 kB / 435 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.2541, allocations: 11.98 kB / 435 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.723e-05/0.2541, allocations: 19.92 kB / 435 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.125e-05/0.2542, allocations: 19.92 kB / 435 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.2542, allocations: 0 / 435 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.2542, allocations: 4 kB / 435 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.687e-05/0.2542, allocations: 11.94 kB / 435 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.48e-05/0.2543, allocations: 35.73 kB / 435.1 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.2544, allocations: 51.55 kB / 435.1 MB, free: 5.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2544, allocations: 0 / 435.1 MB, free: 5.066 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2544, allocations: 0 / 435.1 MB, free: 5.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.2544, allocations: 0 / 435.1 MB, free: 5.066 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.0004963/0.2549, allocations: 307.4 kB / 435.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.255, allocations: 12.02 kB / 435.4 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.255, allocations: 8.891 kB / 435.4 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.2552, allocations: 138.4 kB / 435.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.2553, allocations: 384 / 435.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.2553, allocations: 8.375 kB / 435.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.2556, allocations: 122.5 kB / 435.7 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2556, allocations: 192 / 435.7 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.2556, allocations: 3.938 kB / 435.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.2556, allocations: 4 kB / 435.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.199e-05/0.2557, allocations: 31.91 kB / 435.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.2561, allocations: 333 kB / 436.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.2563, allocations: 79.72 kB / 436.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.929e-05/0.2563, allocations: 38.56 kB / 436.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.2564, allocations: 0 / 436.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.2564, allocations: 38.56 kB / 436.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 4.318e-06/0.2564, allocations: 3.984 kB / 436.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002946/0.2567, allocations: 89.89 kB / 436.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/0.2568, allocations: 114.8 kB / 436.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.2569, allocations: 140.5 kB / 436.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.2569, allocations: 29.7 kB / 436.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/0.257, allocations: 92.12 kB / 436.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.257, allocations: 3.953 kB / 436.7 MB, free: 3.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.257, allocations: 17.72 kB / 436.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.2572, allocations: 318.8 kB / 437 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.532e-05/0.2572, allocations: 12 kB / 437 MB, free: 2.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-05/0.2573, allocations: 39.42 kB / 437.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.2574, allocations: 59.28 kB / 437.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2574, allocations: 0 / 437.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000156/0.2576, allocations: 73.56 kB / 437.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2576, allocations: 8 kB / 437.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2576, allocations: 0 / 437.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.2576, allocations: 3.938 kB / 437.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.174e-05/0.2576, allocations: 7.938 kB / 437.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.2576, allocations: 0 / 437.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.987e-05/0.2577, allocations: 8.125 kB / 437.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.2577, allocations: 0 / 437.2 MB, free: 2.703 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.0001157/0.2578, allocations: 129.7 kB / 437.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.55e-05/0.2579, allocations: 53.64 kB / 437.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.2579, allocations: 15.92 kB / 437.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.2579, allocations: 0 / 437.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2579, allocations: 4 kB / 437.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2579, allocations: 0 / 437.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.2582, allocations: 148.7 kB / 437.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2582, allocations: 0 / 437.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-06/0.2582, allocations: 7.922 kB / 437.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2582, allocations: 4 kB / 437.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.2582, allocations: 3.938 kB / 437.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2582, allocations: 0 / 437.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2582, allocations: 0 / 437.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.2585, allocations: 259.6 kB / 437.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.2585, allocations: 15.94 kB / 437.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.2585, allocations: 4 kB / 437.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-05/0.2586, allocations: 4 kB / 437.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.2586, allocations: 11.92 kB / 437.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.2587, allocations: 4 kB / 437.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.34e-05/0.2587, allocations: 103.3 kB / 438 MB, free: 1.867 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2587, allocations: 0 / 438 MB, free: 1.867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.259, allocations: 8 kB / 438 MB, free: 1.859 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.0001109/0.2591, allocations: 107.2 kB / 438.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.2593, allocations: 35.92 kB / 438.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2593, allocations: 0 / 438.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.19e-05/0.2593, allocations: 11.98 kB / 438.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.2597, allocations: 32.33 kB / 438.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.2601, allocations: 204.9 kB / 438.4 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.2605, allocations: 0.6963 MB / 439 MB, free: 0.707 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/0.2605, allocations: 11.44 kB / 439.1 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2605, allocations: 0 / 439.1 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of Templates: time 0.002424/0.2629, allocations: 0.8059 MB / 439.9 MB, free: 15.89 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 6.995886551914737]