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.0009081/0.0009081, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009607/0.0009607, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 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 0.8908/0.8908, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Modelica_trunk_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.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028e-05/1.139e-05, allocations: 2.312 kB / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001874/0.001885, allocations: 1.583 MB / 275 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002842/0.002169, allocations: 151.4 kB / 275.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.584e-05/0.002235, allocations: 7.938 kB / 275.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.043e-05/0.002316, allocations: 3.938 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.128e-05/0.002387, allocations: 7.922 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.002533, allocations: 39.78 kB / 275.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.85e-05/0.002612, allocations: 47.84 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.827e-05/0.00268, allocations: 8 kB / 275.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.993e-05/0.00272, allocations: 23.95 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.538e-05/0.002745, allocations: 15.94 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.002763, allocations: 0 / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-06/0.002771, allocations: 4 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.189e-05/0.002812, allocations: 15.92 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.989e-05/0.002832, allocations: 12 kB / 275.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.626e-05/0.002909, allocations: 43.77 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.243e-06/0.00291, allocations: 0 / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.00291, allocations: 0 / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.494e-06/0.002913, allocations: 4 kB / 275.3 MB, free: 15.11 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.0002548/0.003168, allocations: 272.6 kB / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.756e-05/0.003195, allocations: 19.97 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.257e-05/0.003218, allocations: 4.938 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.003334, allocations: 133.6 kB / 275.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.003348, allocations: 8.359 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.003357, allocations: 4.375 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.003495, allocations: 116.8 kB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.003501, allocations: 192 / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.503e-06/0.003508, allocations: 4.359 kB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.003526, allocations: 384 / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.699e-05/0.003543, allocations: 18.7 kB / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.003707, allocations: 250.9 kB / 276.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.364e-05/0.003761, allocations: 62.59 kB / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.003779, allocations: 26.62 kB / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.98e-06/0.003784, allocations: 4 kB / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.003801, allocations: 34.56 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.003801, allocations: 3.938 kB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 9.614e-05/0.003897, allocations: 57.56 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.00394, allocations: 110.7 kB / 276.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.109e-05/0.004011, allocations: 133.8 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.00402, allocations: 25.7 kB / 276.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.631e-05/0.004046, allocations: 88.12 kB / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.017e-06/0.004055, allocations: 8.266 kB / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.004079, allocations: 21.72 kB / 276.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.331e-05/0.004142, allocations: 322.8 kB / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-06/0.004147, allocations: 0 / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.131e-05/0.004159, allocations: 17.72 kB / 277 MB, free: 13.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.205e-05/0.004181, allocations: 20.48 kB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.004182, allocations: 0 / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.389e-05/0.004216, allocations: 37.69 kB / 277.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.004226, allocations: 12.12 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.004229, allocations: 0 / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.004238, allocations: 3.938 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.181e-05/0.00425, allocations: 0 / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.004253, allocations: 3.938 kB / 277.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.004273, allocations: 7.984 kB / 277.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-06/0.004276, allocations: 0 / 277.1 MB, free: 13.07 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.334e-05/0.004329, allocations: 120.7 kB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.004365, allocations: 37.69 kB / 277.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.511e-05/0.00438, allocations: 11.97 kB / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.00439, allocations: 7.969 kB / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.004392, allocations: 4 kB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.004395, allocations: 0 / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.827e-05/0.004493, allocations: 73.88 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.004495, allocations: 0 / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-06/0.004497, allocations: 0 / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.11e-07/0.004498, allocations: 4 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-06/0.004501, allocations: 0 / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.004503, allocations: 3.938 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.004505, allocations: 4 kB / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.431e-05/0.004579, allocations: 222.4 kB / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.004602, allocations: 27.86 kB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.842e-06/0.004609, allocations: 0 / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.52e-05/0.004654, allocations: 4 kB / 277.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.004678, allocations: 11.92 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.00468, allocations: 0 / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.918e-05/0.004699, allocations: 24.83 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004699, allocations: 0 / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001287/0.004828, allocations: 4 kB / 277.7 MB, free: 12.47 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.158e-05/0.004889, allocations: 92.39 kB / 277.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.413e-05/0.004933, allocations: 16.84 kB / 277.8 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.004935, allocations: 0 / 277.8 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.131e-05/0.004946, allocations: 12.8 kB / 277.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.005144, allocations: 27.28 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001924/0.005336, allocations: 168.2 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.557e-05/0.005372, allocations: 63.69 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.564e-05/0.005388, allocations: 11.98 kB / 278.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.005428, allocations: 55.38 kB / 278.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of SimCode: time 5.72e-07/0.005428, allocations: 0 / 278.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of Templates: time 0.001781/0.007209, allocations: 0.6761 MB / 278.8 MB, free: 11.31 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] 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","",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.453169486951083]