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.001376/0.001376, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001571/0.001571, allocations: 167.3 kB / 24.91 MB, free: 9.152 MB / 18.57 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 0.9836/0.9836, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.852e-05, allocations: 2.312 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001771/0.00179, allocations: 1.582 MB / 275 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002778/0.002067, allocations: 147.4 kB / 275.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.00213, allocations: 4 kB / 275.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.305e-05/0.002213, allocations: 15.8 kB / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.861e-05/0.002281, allocations: 0 / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.002428, allocations: 39.83 kB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.942e-05/0.002507, allocations: 43.84 kB / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.879e-05/0.002576, allocations: 15.92 kB / 275.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.882e-05/0.002615, allocations: 23.92 kB / 275.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.545e-05/0.00264, allocations: 15.97 kB / 275.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.002658, allocations: 4 kB / 275.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.386e-06/0.002667, allocations: 7.938 kB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.002707, allocations: 8 kB / 275.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.002728, allocations: 15.92 kB / 275.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.438e-05/0.002803, allocations: 31.84 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.212e-06/0.002804, allocations: 4 kB / 275.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.002805, allocations: 0 / 275.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.002808, allocations: 0 / 275.4 MB, free: 15.33 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.0002654/0.003073, allocations: 276.6 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.69e-05/0.0031, allocations: 12.03 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.271e-05/0.003123, allocations: 8.938 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.003242, allocations: 137.5 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.003256, allocations: 4.375 kB / 275.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.003266, allocations: 8.375 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.003411, allocations: 116.8 kB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.003418, allocations: 4.188 kB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-06/0.003423, allocations: 4.375 kB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.003442, allocations: 384 / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.003463, allocations: 22.69 kB / 276 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.003637, allocations: 251 kB / 276.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.227e-05/0.003689, allocations: 62.62 kB / 276.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.003707, allocations: 18.64 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-06/0.003712, allocations: 0 / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.003732, allocations: 42.48 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.12e-07/0.003733, allocations: 4 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001095/0.003842, allocations: 57.55 kB / 276.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.003887, allocations: 106.8 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.282e-05/0.003959, allocations: 136.7 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.003967, allocations: 25.7 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.872e-05/0.003996, allocations: 84.14 kB / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.036e-05/0.004006, allocations: 11.88 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.00403, allocations: 21.7 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.004097, allocations: 319.2 kB / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.57e-06/0.004102, allocations: 4 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.33e-05/0.004116, allocations: 21.59 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.273e-05/0.004138, allocations: 20.53 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.00414, allocations: 0 / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.612e-05/0.004176, allocations: 37.64 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.946e-06/0.004185, allocations: 4 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.004189, allocations: 4 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.004201, allocations: 4.062 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-05/0.004215, allocations: 7.984 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.004219, allocations: 3.984 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.912e-05/0.004238, allocations: 4 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.004242, allocations: 0 / 277.2 MB, free: 13.29 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 5.443e-05/0.004297, allocations: 120.7 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.004334, allocations: 41.62 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.536e-05/0.00435, allocations: 3.969 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.00436, allocations: 7.938 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.004361, allocations: 0 / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.004364, allocations: 8.031 kB / 277.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.004468, allocations: 77.88 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.00447, allocations: 0 / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-06/0.004472, allocations: 0 / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.004475, allocations: 4 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-06/0.004479, allocations: 3.984 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.22e-07/0.004479, allocations: 0 / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.00448, allocations: 0 / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.536e-05/0.004555, allocations: 222.4 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.004576, allocations: 11.95 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-06/0.004586, allocations: 12.02 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.897e-05/0.004635, allocations: 7.984 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.004659, allocations: 7.938 kB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.004662, allocations: 4 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.737e-05/0.004679, allocations: 23.66 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00468, allocations: 0 / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001475/0.004827, allocations: 4 kB / 277.7 MB, free: 12.69 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 6.259e-05/0.00489, allocations: 80.42 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.029e-05/0.00494, allocations: 32.77 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.004942, allocations: 0 / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-05/0.004954, allocations: 12.8 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.00516, allocations: 23.41 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002012/0.005361, allocations: 168.1 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.435e-05/0.005395, allocations: 59.36 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.479e-05/0.00541, allocations: 3.984 kB / 278.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.005453, allocations: 55.72 kB / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of SimCode: time 4.2e-07/0.005453, allocations: 4 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of Templates: time 0.001969/0.007422, allocations: 0.6622 MB / 278.8 MB, free: 11.54 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.560553084127605]