Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.001036/0.001036, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.001068/0.001068, allocations: 164.2 kB / 24.91 MB, free: 8.766 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 1.064/1.064, allocations: 177 MB / 205.2 MB, free: 5.078 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.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.902e-05, allocations: 5.406 kB / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002008/0.002027, allocations: 1.673 MB / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008252/0.002852, allocations: 0.5607 MB / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.193e-05/0.002944, allocations: 0 / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.003067, allocations: 7.875 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.003185, allocations: 15.86 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.003472, allocations: 71.73 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.003575, allocations: 63.72 kB / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.344e-05/0.003669, allocations: 19.97 kB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.003785, allocations: 39.84 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.592e-05/0.003841, allocations: 23.91 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.003858, allocations: 4 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.026e-05/0.003898, allocations: 11.98 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.003944, allocations: 15.92 kB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.003968, allocations: 15.94 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.004089, allocations: 63.69 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.004091, allocations: 4 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004092, allocations: 0 / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.004097, allocations: 0 / 276 MB, free: 14.48 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.000326/0.004423, allocations: 296.4 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.004459, allocations: 11.98 kB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.004585, allocations: 24.91 kB / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.004754, allocations: 153.5 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.004763, allocations: 384 / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.004776, allocations: 8.375 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.004953, allocations: 120.8 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.004961, allocations: 192 / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.004968, allocations: 4.312 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.004991, allocations: 7.922 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.005011, allocations: 10.83 kB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.005235, allocations: 262.8 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.086e-05/0.005296, allocations: 62.53 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.798e-05/0.005324, allocations: 22.77 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.005338, allocations: 4 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.005355, allocations: 30.56 kB / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.863e-06/0.005357, allocations: 0 / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001308/0.005488, allocations: 65.42 kB / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.005541, allocations: 106.8 kB / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.244e-05/0.005623, allocations: 155 kB / 277.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.005634, allocations: 29.7 kB / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/0.005667, allocations: 84.14 kB / 277.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.005682, allocations: 7.938 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.00571, allocations: 21.7 kB / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.987e-05/0.00579, allocations: 318.8 kB / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-06/0.005799, allocations: 0 / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.719e-05/0.005816, allocations: 21.7 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.749e-05/0.005843, allocations: 20.48 kB / 277.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005845, allocations: 64 / 277.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.103e-05/0.005896, allocations: 41.69 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.005907, allocations: 11.94 kB / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.005913, allocations: 3.938 kB / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.005925, allocations: 0 / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.966e-05/0.005975, allocations: 7.984 kB / 277.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.005979, allocations: 4 kB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.005995, allocations: 0 / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.006001, allocations: 0 / 277.9 MB, free: 12.36 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: 0 () * 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.849e-05/0.00606, allocations: 112.7 kB / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.006107, allocations: 45.69 kB / 278 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.006131, allocations: 11.91 kB / 278 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.006142, allocations: 7.984 kB / 278 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.006143, allocations: 0 / 278 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.006146, allocations: 0 / 278 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.006259, allocations: 89.83 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.006261, allocations: 0 / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.817e-05/0.006279, allocations: 11.92 kB / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.006283, allocations: 7.984 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-06/0.006289, allocations: 3.984 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.00629, allocations: 4.031 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.006291, allocations: 3.938 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.192e-05/0.006383, allocations: 218.5 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.006409, allocations: 11.94 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.006419, allocations: 4 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.705e-05/0.006466, allocations: 3.938 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.006497, allocations: 15.88 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.0065, allocations: 0 / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.691e-05/0.006527, allocations: 37.62 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006527, allocations: 8.031 kB / 278.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001289/0.006655, allocations: 4 kB / 278.4 MB, free: 11.72 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: 0 () * 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 7.369e-05/0.006729, allocations: 80.36 kB / 278.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.597e-05/0.006795, allocations: 24.78 kB / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.006798, allocations: 4 kB / 278.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.265e-05/0.006811, allocations: 4.859 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.007043, allocations: 23.41 kB / 278.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.007441, allocations: 213.3 kB / 278.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.279e-05/0.007484, allocations: 63.34 kB / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.376e-05/0.007508, allocations: 8 kB / 278.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.181e-05/0.00756, allocations: 63.36 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of SimCode: time 3.61e-07/0.00756, allocations: 0 / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of Templates: time 0.002251/0.009811, allocations: 0.7333 MB / 279.7 MB, free: 10.46 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/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.8275313288904727]