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.001883/0.001883, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.001988/0.001988, allocations: 156.8 kB / 24.27 MB, free: 156 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.63/1.63, allocations: 177 MB / 204.4 MB, free: 5.598 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.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",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.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/2.997e-05, allocations: 6.312 kB / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003112/0.003142, allocations: 1.641 MB / 273.8 MB, free: 128 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.004264, allocations: 0.5375 MB / 274.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.225e-05/0.004336, allocations: 7.938 kB / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.004442, allocations: 11.92 kB / 274.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.004549, allocations: 11.88 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.004849, allocations: 71.66 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.004989, allocations: 63.72 kB / 274.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.005102, allocations: 15.98 kB / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.005249, allocations: 47.83 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.737e-05/0.005316, allocations: 23.92 kB / 274.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.00534, allocations: 4 kB / 274.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.607e-05/0.005386, allocations: 7.984 kB / 274.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.471e-05/0.005451, allocations: 23.92 kB / 274.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.374e-05/0.005495, allocations: 15.94 kB / 274.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.005682, allocations: 71.7 kB / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.005685, allocations: 0 / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.005686, allocations: 0 / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.84e-06/0.005691, allocations: 4 kB / 274.8 MB, free: 15.21 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.0006202/0.006312, allocations: 427.8 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.006354, allocations: 15.98 kB / 275.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002348/0.006589, allocations: 32.86 kB / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.006841, allocations: 156.3 kB / 275.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.006853, allocations: 4.375 kB / 275.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.006865, allocations: 4.359 kB / 275.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.007188, allocations: 124.6 kB / 275.5 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.007197, allocations: 4.188 kB / 275.5 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.007209, allocations: 8.312 kB / 275.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.723e-05/0.007237, allocations: 3.938 kB / 275.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.007345, allocations: 27.92 kB / 275.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/0.00789, allocations: 422.4 kB / 276 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.00816, allocations: 97.23 kB / 276.1 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.475e-05/0.008244, allocations: 39.11 kB / 276.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.008261, allocations: 4 kB / 276.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/0.008306, allocations: 49.25 kB / 276.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.008307, allocations: 0 / 276.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003585/0.008666, allocations: 81.56 kB / 276.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.778e-05/0.008753, allocations: 106.8 kB / 276.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.008972, allocations: 217.9 kB / 276.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.008995, allocations: 29.7 kB / 276.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.831e-05/0.009093, allocations: 151.1 kB / 276.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.00911, allocations: 7.953 kB / 276.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.009156, allocations: 23.38 kB / 276.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002538/0.00941, allocations: 0.4961 MB / 277.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.139e-05/0.009461, allocations: 8 kB / 277.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.288e-05/0.009524, allocations: 31.36 kB / 277.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.00963, allocations: 35.36 kB / 277.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.009631, allocations: 0 / 277.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000172/0.009803, allocations: 73.56 kB / 277.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.009821, allocations: 8 kB / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.009825, allocations: 0 / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.009838, allocations: 0 / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.629e-05/0.009914, allocations: 4 kB / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.009919, allocations: 0 / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.061e-05/0.00997, allocations: 7.984 kB / 277.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.009978, allocations: 0 / 277.4 MB, free: 12.26 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 0.0001216/0.0101, allocations: 160.6 kB / 277.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.827e-05/0.0102, allocations: 57.58 kB / 277.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.01023, allocations: 15.95 kB / 277.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.01024, allocations: 0 / 277.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.01025, allocations: 4 kB / 277.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.01025, allocations: 0 / 277.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.01049, allocations: 144.6 kB / 277.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01049, allocations: 3.938 kB / 277.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.347e-05/0.01054, allocations: 4 kB / 277.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.01055, allocations: 4 kB / 277.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.01056, allocations: 7.922 kB / 277.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01056, allocations: 4.031 kB / 277.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.01056, allocations: 4 kB / 277.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.01091, allocations: 350.6 kB / 278.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.01096, allocations: 15.94 kB / 278.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.01097, allocations: 3.938 kB / 278.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.01108, allocations: 4 kB / 278.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.01112, allocations: 4 kB / 278.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.01113, allocations: 7.984 kB / 278.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.01125, allocations: 156 kB / 278.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01125, allocations: 4 kB / 278.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002586/0.01151, allocations: 8 kB / 278.4 MB, free: 11.24 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 0.0001296/0.01164, allocations: 103.2 kB / 278.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.01182, allocations: 35.61 kB / 278.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01182, allocations: 0 / 278.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.287e-05/0.01189, allocations: 23.67 kB / 278.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.01231, allocations: 28.7 kB / 278.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/0.01276, allocations: 213.6 kB / 278.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.01287, allocations: 81.11 kB / 278.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.148e-05/0.01292, allocations: 7.984 kB / 278.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.01296, allocations: 12.5 kB / 278.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01296, allocations: 0 / 278.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of Templates: time 0.004088/0.01705, allocations: 0.7448 MB / 279.6 MB, free: 9.941 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.44542663206812]