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.001525/0.001525, allocations: 100.2 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001644/0.001644, allocations: 156.9 kB / 24.27 MB, free: 176 kB / 18.57 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.487/1.487, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 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 2.044e-06/2.044e-06, allocations: 0 / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.143e-05, allocations: 6.312 kB / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.004531/0.004562, allocations: 1.552 MB / 273.7 MB, free: 272 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005643/0.005127, allocations: 143.5 kB / 273.9 MB, free: 128 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.625e-05/0.005213, allocations: 3.938 kB / 273.9 MB, free: 124 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.005334, allocations: 3.938 kB / 273.9 MB, free: 120 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.005454, allocations: 19.86 kB / 273.9 MB, free: 100 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.005758, allocations: 31.84 kB / 273.9 MB, free: 68 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.005898, allocations: 43.84 kB / 274 MB, free: 24 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.006022, allocations: 15.91 kB / 274 MB, free: 8 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.33e-05/0.006115, allocations: 20.03 kB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.541e-05/0.006161, allocations: 19.97 kB / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.006184, allocations: 0 / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.596e-05/0.0062, allocations: 4 kB / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.38e-05/0.006274, allocations: 11.94 kB / 274.1 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.709e-05/0.006321, allocations: 15.94 kB / 274.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.006488, allocations: 51.8 kB / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.006495, allocations: 4 kB / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.006497, allocations: 0 / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.006502, allocations: 0 / 274.1 MB, free: 15.88 MB / 266.7 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.0006255/0.007127, allocations: 290.1 kB / 274.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.007174, allocations: 15.92 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.87e-05/0.007242, allocations: 16.89 kB / 274.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.007606, allocations: 141.6 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.007633, allocations: 8.312 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.007646, allocations: 4.375 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.008043, allocations: 114.5 kB / 274.7 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.008052, allocations: 192 / 274.7 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.00807, allocations: 8.375 kB / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/0.008098, allocations: 384 / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.00823, allocations: 31.86 kB / 274.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005683/0.008799, allocations: 305.6 kB / 275 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.008987, allocations: 75.78 kB / 275.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.00909, allocations: 34.62 kB / 275.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.009107, allocations: 3.938 kB / 275.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/0.009155, allocations: 34.56 kB / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.009156, allocations: 0 / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004504/0.009606, allocations: 105.5 kB / 275.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.009717, allocations: 107.1 kB / 275.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.009913, allocations: 144.9 kB / 275.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.009937, allocations: 29.7 kB / 275.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.528e-05/0.01002, allocations: 84.14 kB / 275.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.01004, allocations: 3.953 kB / 275.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/0.01009, allocations: 21.72 kB / 275.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.01031, allocations: 314.8 kB / 276 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.816e-05/0.01037, allocations: 8 kB / 276 MB, free: 13.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.141e-05/0.01044, allocations: 21.7 kB / 276 MB, free: 13.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.01056, allocations: 33.77 kB / 276 MB, free: 13.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.01057, allocations: 4 kB / 276 MB, free: 13.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001763/0.01074, allocations: 57.62 kB / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.01077, allocations: 7.938 kB / 276.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.01077, allocations: 0 / 276.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.01079, allocations: 4 kB / 276.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.265e-05/0.01081, allocations: 4 kB / 276.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.01082, allocations: 3.984 kB / 276.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.01087, allocations: 12.02 kB / 276.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.01088, allocations: 0 / 276.1 MB, free: 13.63 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u[1],sample1.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001508/0.01103, allocations: 125.7 kB / 276.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.01118, allocations: 53.58 kB / 276.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.01122, allocations: 11.95 kB / 276.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/0.01124, allocations: 7.938 kB / 276.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.01124, allocations: 0 / 276.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.01125, allocations: 4 kB / 276.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.01154, allocations: 113.3 kB / 276.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.01155, allocations: 4 kB / 276.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.664e-06/0.01156, allocations: 4.031 kB / 276.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.01156, allocations: 3.984 kB / 276.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.01158, allocations: 3.938 kB / 276.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.01158, allocations: 4 kB / 276.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.01159, allocations: 3.938 kB / 276.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.01195, allocations: 251.6 kB / 276.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.01201, allocations: 19.94 kB / 276.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.01203, allocations: 3.938 kB / 276.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.01219, allocations: 4 kB / 276.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.01224, allocations: 4 kB / 276.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.01226, allocations: 7.984 kB / 276.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001222/0.01238, allocations: 107.2 kB / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01238, allocations: 0 / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004106/0.01279, allocations: 4 kB / 276.9 MB, free: 12.84 MB / 266.7 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.0001645/0.01295, allocations: 103.2 kB / 277 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.01315, allocations: 35.97 kB / 277 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01316, allocations: 8.125 kB / 277 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.728e-05/0.01322, allocations: 11.94 kB / 277 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006129/0.01384, allocations: 24.45 kB / 277 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.01433, allocations: 185.4 kB / 277.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.01446, allocations: 75.33 kB / 277.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.426e-05/0.01451, allocations: 7.984 kB / 277.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.01455, allocations: 12.5 kB / 277.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of SimCode: time 4.4e-07/0.01455, allocations: 224 / 277.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of Templates: time 0.004241/0.01879, allocations: 0.6693 MB / 278 MB, free: 11.67 MB / 266.7 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: 4.263782921014354]