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.0008704/0.0008704, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.004334/0.004334, allocations: 155.4 kB / 24.7 MB, free: 8.355 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.9179/0.9179, allocations: 177 MB / 204.9 MB, free: 5.746 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.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.793e-06/1.793e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.456e-05, allocations: 2.984 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002565/0.002589, allocations: 1.638 MB / 327.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008631/0.003452, allocations: 0.5181 MB / 327.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.276e-05/0.003545, allocations: 3.938 kB / 327.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.003666, allocations: 11.92 kB / 328 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.00378, allocations: 11.86 kB / 328 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.004098, allocations: 75.67 kB / 328 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.00423, allocations: 67.72 kB / 328.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.004333, allocations: 7.984 kB / 328.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.004483, allocations: 47.78 kB / 328.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.004547, allocations: 23.95 kB / 328.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.004566, allocations: 4 kB / 328.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.437e-05/0.00461, allocations: 8 kB / 328.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.45e-05/0.004665, allocations: 19.86 kB / 328.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.004696, allocations: 15.94 kB / 328.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.004854, allocations: 75.77 kB / 328.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004856, allocations: 4 kB / 328.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004857, allocations: 0 / 328.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.004862, allocations: 0 / 328.3 MB, free: 12.82 MB / 298.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.0004545/0.005316, allocations: 321.8 kB / 328.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.005353, allocations: 15.98 kB / 328.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.005536, allocations: 24.88 kB / 328.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.005754, allocations: 153.5 kB / 328.8 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.005764, allocations: 12.31 kB / 328.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.005775, allocations: 4.375 kB / 328.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.006042, allocations: 122.4 kB / 328.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.006051, allocations: 192 / 328.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.006065, allocations: 8.375 kB / 329 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.006089, allocations: 7.938 kB / 329 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.513e-05/0.006184, allocations: 35.97 kB / 329 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.006555, allocations: 325.5 kB / 329.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.006669, allocations: 83.77 kB / 329.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.903e-05/0.006728, allocations: 34.62 kB / 329.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.006747, allocations: 7.984 kB / 329.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.006772, allocations: 38.5 kB / 329.5 MB, free: 11.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.006773, allocations: 0 / 329.5 MB, free: 11.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003004/0.007073, allocations: 121.5 kB / 329.6 MB, free: 11.37 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.007132, allocations: 102.8 kB / 329.7 MB, free: 11.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.007248, allocations: 162.2 kB / 329.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.007262, allocations: 29.64 kB / 329.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.007316, allocations: 96.09 kB / 330 MB, free: 10.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.007333, allocations: 7.938 kB / 330 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.007373, allocations: 21.7 kB / 330 MB, free: 10.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.156e-05/0.007465, allocations: 315.2 kB / 330.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.644e-05/0.007511, allocations: 19.98 kB / 330.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.721e-05/0.007558, allocations: 25.7 kB / 330.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.238e-05/0.007651, allocations: 45.62 kB / 330.4 MB, free: 10.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.007653, allocations: 0 / 330.4 MB, free: 10.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000135/0.007788, allocations: 89.55 kB / 330.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.007801, allocations: 4 kB / 330.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.007806, allocations: 0 / 330.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.007819, allocations: 0 / 330.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.00788, allocations: 11.98 kB / 330.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.007885, allocations: 0 / 330.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.308e-05/0.007918, allocations: 4 kB / 330.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.007924, allocations: 0 / 330.5 MB, free: 10.38 MB / 298.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 7.052e-05/0.007995, allocations: 121.8 kB / 330.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.251e-05/0.008067, allocations: 53.66 kB / 330.7 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.008095, allocations: 19.91 kB / 330.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.008105, allocations: 7.938 kB / 330.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.00811, allocations: 0 / 330.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.008113, allocations: 0 / 330.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.008289, allocations: 129.3 kB / 330.8 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.008291, allocations: 3.938 kB / 330.8 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.305e-05/0.008324, allocations: 7.984 kB / 330.8 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.008327, allocations: 4 kB / 330.9 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.008335, allocations: 3.938 kB / 330.9 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.008337, allocations: 4.031 kB / 330.9 MB, free: 9.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008338, allocations: 0 / 330.9 MB, free: 9.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.008534, allocations: 275.5 kB / 331.1 MB, free: 9.691 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.008572, allocations: 11.95 kB / 331.1 MB, free: 9.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.008589, allocations: 11.92 kB / 331.2 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.489e-05/0.008674, allocations: 8 kB / 331.2 MB, free: 9.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.008707, allocations: 3.938 kB / 331.2 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.008712, allocations: 3.984 kB / 331.2 MB, free: 9.652 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.743e-05/0.00878, allocations: 119.2 kB / 331.3 MB, free: 9.535 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00878, allocations: 4 kB / 331.3 MB, free: 9.531 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000256/0.009036, allocations: 8 kB / 331.3 MB, free: 9.523 MB / 298.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.926e-05/0.009115, allocations: 99.19 kB / 331.4 MB, free: 9.418 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.00926, allocations: 43.91 kB / 331.4 MB, free: 9.375 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.009262, allocations: 4 kB / 331.4 MB, free: 9.371 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.336e-05/0.009306, allocations: 20.11 kB / 331.5 MB, free: 9.352 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.009696, allocations: 31.36 kB / 331.5 MB, free: 9.324 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003649/0.01006, allocations: 241 kB / 331.7 MB, free: 9.043 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.745e-05/0.01014, allocations: 89.67 kB / 331.8 MB, free: 8.938 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.01018, allocations: 12.5 kB / 331.8 MB, free: 8.926 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01018, allocations: 0 / 331.8 MB, free: 8.926 MB / 298.7 MB Notification: Performance of Templates: time 0.002114/0.01229, allocations: 0.974 MB / 332.8 MB, free: 7.957 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] 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.0865449123084545]