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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 58.2 kB / 306.9 MB, free: 0.6406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1424, allocations: 50.54 MB / 357.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003983/0.1465, allocations: 1.61 MB / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1479, allocations: 0.5571 MB / 359.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.1482, allocations: 0 / 359.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.1483, allocations: 11.88 kB / 359.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.1485, allocations: 19.84 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.1489, allocations: 59.81 kB / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.1491, allocations: 59.78 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.1492, allocations: 27.97 kB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.1494, allocations: 35.8 kB / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.354e-05/0.1495, allocations: 27.84 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.1495, allocations: 4 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.075e-05/0.1496, allocations: 8 kB / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.228e-05/0.1497, allocations: 23.91 kB / 359.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.601e-05/0.1497, allocations: 31.75 kB / 360 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.1499, allocations: 75.72 kB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.15, allocations: 7.938 kB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.15, allocations: 0 / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.15, allocations: 0 / 360 MB, free: 11.54 MB / 302.1 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.0007504/0.1507, allocations: 395.2 kB / 360.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.1508, allocations: 12.03 kB / 360.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00031/0.1511, allocations: 32.8 kB / 360.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.1514, allocations: 201.2 kB / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.1514, allocations: 8.375 kB / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.1514, allocations: 4.375 kB / 360.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003575/0.1518, allocations: 134.1 kB / 360.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1518, allocations: 3.938 kB / 360.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.1518, allocations: 0 / 360.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/0.1519, allocations: 4 kB / 360.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.152, allocations: 43.95 kB / 360.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006066/0.1527, allocations: 373.8 kB / 361.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.1528, allocations: 83.78 kB / 361.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.91e-05/0.1529, allocations: 42.61 kB / 361.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.153, allocations: 4 kB / 361.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.153, allocations: 38.56 kB / 361.4 MB, free: 9.977 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.694e-06/0.153, allocations: 0 / 361.4 MB, free: 9.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004525/0.1535, allocations: 117.4 kB / 361.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/0.1536, allocations: 106.8 kB / 361.6 MB, free: 9.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.1538, allocations: 159.2 kB / 361.8 MB, free: 9.562 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1538, allocations: 29.7 kB / 361.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.123e-05/0.1539, allocations: 96.06 kB / 361.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.1539, allocations: 7.906 kB / 361.9 MB, free: 9.422 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/0.154, allocations: 21.62 kB / 361.9 MB, free: 9.395 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1541, allocations: 322.8 kB / 362.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.498e-05/0.1542, allocations: 19.98 kB / 362.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1543, allocations: 43.42 kB / 362.3 MB, free: 8.996 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.1545, allocations: 67.33 kB / 362.4 MB, free: 8.918 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1545, allocations: 3.938 kB / 362.4 MB, free: 8.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002115/0.1547, allocations: 89.55 kB / 362.4 MB, free: 8.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.1548, allocations: 7.984 kB / 362.5 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.1548, allocations: 4 kB / 362.5 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.1548, allocations: 4 kB / 362.5 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.1549, allocations: 8 kB / 362.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.1549, allocations: 3.984 kB / 362.5 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.323e-05/0.155, allocations: 15.97 kB / 362.5 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.155, allocations: 4 kB / 362.5 MB, free: 8.773 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.000102/0.1551, allocations: 121.8 kB / 362.6 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.922e-05/0.1552, allocations: 53.55 kB / 362.7 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.255e-05/0.1553, allocations: 19.81 kB / 362.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.1553, allocations: 4 kB / 362.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1553, allocations: 0 / 362.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1553, allocations: 0 / 362.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.1556, allocations: 181.6 kB / 362.9 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1556, allocations: 4.031 kB / 362.9 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.1557, allocations: 11.98 kB / 362.9 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.1557, allocations: 0 / 362.9 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1557, allocations: 0 / 362.9 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.1557, allocations: 4 kB / 362.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1558, allocations: 0 / 362.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.1561, allocations: 283.5 kB / 363.2 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-05/0.1562, allocations: 93.03 kB / 363.3 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1562, allocations: 0 / 363.3 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.1563, allocations: 4 kB / 363.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.1564, allocations: 11.98 kB / 363.3 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.1564, allocations: 0 / 363.3 MB, free: 7.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1565, allocations: 115.2 kB / 363.4 MB, free: 7.777 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1565, allocations: 4 kB / 363.4 MB, free: 7.773 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002927/0.1568, allocations: 8 kB / 363.4 MB, free: 7.766 MB / 302.1 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.0001603/0.157, allocations: 103.2 kB / 363.5 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.1572, allocations: 59.83 kB / 363.6 MB, free: 7.598 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1572, allocations: 0 / 363.6 MB, free: 7.598 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.387e-05/0.1573, allocations: 20.3 kB / 363.6 MB, free: 7.578 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/0.1579, allocations: 31.86 kB / 363.6 MB, free: 7.547 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005143/0.1584, allocations: 212.8 kB / 363.8 MB, free: 7.305 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.1587, allocations: 0.7002 MB / 364.5 MB, free: 6.578 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.184e-05/0.1588, allocations: 7.984 kB / 364.5 MB, free: 6.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.1588, allocations: 11.44 kB / 364.5 MB, free: 6.562 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1588, allocations: 0 / 364.5 MB, free: 6.562 MB / 302.1 MB Notification: Performance of Templates: time 0.00386/0.1627, allocations: 0.7121 MB / 365.2 MB, free: 5.871 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches