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.001431/0.001431, allocations: 118.4 kB / 17.99 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0014/0.0014, allocations: 205.8 kB / 18.92 MB, free: 4.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.639/1.639, allocations: 227.4 MB / 247.1 MB, free: 8.965 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 66.95 kB / 307.1 MB, free: 0.6719 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1232, allocations: 50.53 MB / 357.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003751/0.127, allocations: 1.683 MB / 359.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1282, allocations: 0.5532 MB / 359.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.591e-05/0.1283, allocations: 3.938 kB / 359.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.1284, allocations: 7.922 kB / 359.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.1286, allocations: 11.94 kB / 359.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.1289, allocations: 59.86 kB / 360 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.129, allocations: 59.73 kB / 360.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1292, allocations: 27.97 kB / 360.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.1293, allocations: 31.91 kB / 360.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.403e-05/0.1294, allocations: 27.86 kB / 360.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.1294, allocations: 3.938 kB / 360.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.386e-05/0.1295, allocations: 8 kB / 360.2 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.1296, allocations: 15.92 kB / 360.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.214e-05/0.1296, allocations: 43.73 kB / 360.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.1298, allocations: 51.92 kB / 360.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1298, allocations: 0 / 360.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1298, allocations: 0 / 360.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1298, allocations: 0 / 360.3 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.0006138/0.1304, allocations: 403.2 kB / 360.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1305, allocations: 12.02 kB / 360.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.1307, allocations: 24.83 kB / 360.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.131, allocations: 205.2 kB / 360.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.131, allocations: 4.375 kB / 360.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.131, allocations: 8.312 kB / 360.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.1314, allocations: 130.1 kB / 361 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1314, allocations: 0 / 361 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.1314, allocations: 11.98 kB / 361 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.766e-05/0.1314, allocations: 11.92 kB / 361.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.1316, allocations: 35.95 kB / 361.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/0.1322, allocations: 381.8 kB / 361.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.1323, allocations: 75.78 kB / 361.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.1324, allocations: 42.61 kB / 361.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.1325, allocations: 4 kB / 361.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.1325, allocations: 38.56 kB / 361.6 MB, free: 9.973 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1325, allocations: 0 / 361.6 MB, free: 9.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003732/0.1329, allocations: 113.4 kB / 361.7 MB, free: 9.855 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.203e-05/0.133, allocations: 111.2 kB / 361.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.1332, allocations: 154.8 kB / 362 MB, free: 9.562 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.1332, allocations: 25.7 kB / 362 MB, free: 9.531 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.399e-05/0.1333, allocations: 104 kB / 362.1 MB, free: 9.426 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.1333, allocations: 3.906 kB / 362.1 MB, free: 9.422 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.1334, allocations: 25.62 kB / 362.1 MB, free: 9.391 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1336, allocations: 322.8 kB / 362.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.902e-05/0.1336, allocations: 23.98 kB / 362.5 MB, free: 9.043 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.146e-05/0.1337, allocations: 43.41 kB / 362.5 MB, free: 8.988 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.1339, allocations: 63.34 kB / 362.6 MB, free: 8.914 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1339, allocations: 0 / 362.6 MB, free: 8.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002071/0.1341, allocations: 85.59 kB / 362.7 MB, free: 8.824 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1341, allocations: 11.94 kB / 362.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1341, allocations: 0 / 362.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1342, allocations: 0 / 362.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-05/0.1343, allocations: 8.125 kB / 362.7 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.1343, allocations: 11.98 kB / 362.7 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.056e-05/0.1343, allocations: 7.906 kB / 362.7 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1344, allocations: 0 / 362.7 MB, free: 8.785 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.0001111/0.1345, allocations: 125.8 kB / 362.8 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.1346, allocations: 53.55 kB / 362.9 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.1346, allocations: 15.81 kB / 362.9 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.1347, allocations: 12 kB / 362.9 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1347, allocations: 0 / 362.9 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1347, allocations: 4.031 kB / 362.9 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.1349, allocations: 185.5 kB / 363.1 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.135, allocations: 0 / 363.1 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.899e-05/0.135, allocations: 7.984 kB / 363.1 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.135, allocations: 4 kB / 363.1 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1351, allocations: 3.984 kB / 363.1 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1351, allocations: 0 / 363.1 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.1351, allocations: 4 kB / 363.1 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.1354, allocations: 275.4 kB / 363.4 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.503e-05/0.1355, allocations: 97 kB / 363.5 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.1355, allocations: 0 / 363.5 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.1356, allocations: 4 kB / 363.5 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.1357, allocations: 3.984 kB / 363.5 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1357, allocations: 4 kB / 363.5 MB, free: 7.895 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.1358, allocations: 119.2 kB / 363.6 MB, free: 7.777 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1358, allocations: 7.938 kB / 363.6 MB, free: 7.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000266/0.1361, allocations: 4 kB / 363.6 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.0001358/0.1362, allocations: 107.2 kB / 363.7 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002233/0.1364, allocations: 51.83 kB / 363.8 MB, free: 7.602 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.1364, allocations: 4.25 kB / 363.8 MB, free: 7.598 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.692e-05/0.1365, allocations: 19.98 kB / 363.8 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.0005254/0.1371, allocations: 35.48 kB / 363.8 MB, free: 7.547 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005011/0.1376, allocations: 258.7 kB / 364.1 MB, free: 7.254 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.138, allocations: 0.7002 MB / 364.8 MB, free: 6.527 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.138, allocations: 7.438 kB / 364.8 MB, free: 6.523 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.138, allocations: 0 / 364.8 MB, free: 6.523 MB / 302.1 MB Notification: Performance of Templates: time 0.002886/0.1409, allocations: 0.9727 MB / 365.8 MB, free: 5.555 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/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