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.001124/0.001124, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001143, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 247.5 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 59.5 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1202, allocations: 50.54 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.0037/0.124, allocations: 1.61 MB / 360.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.125, allocations: 0.5609 MB / 361.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.789e-05/0.1252, allocations: 3.938 kB / 361.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.1253, allocations: 3.938 kB / 361.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.1254, allocations: 19.84 kB / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.1258, allocations: 71.06 kB / 361.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.126, allocations: 63.77 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1261, allocations: 15.98 kB / 361.3 MB, free: 11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.1263, allocations: 39.78 kB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.977e-05/0.1264, allocations: 27.84 kB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.1264, allocations: 4 kB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.464e-05/0.1265, allocations: 12 kB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.262e-05/0.1266, allocations: 19.92 kB / 361.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.183e-05/0.1266, allocations: 35.73 kB / 361.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.1268, allocations: 71.72 kB / 361.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1268, allocations: 0 / 361.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.088e-06/0.1268, allocations: 0 / 361.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1268, allocations: 3.938 kB / 361.5 MB, free: 10.79 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.0006602/0.1275, allocations: 403 kB / 361.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1275, allocations: 8.031 kB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002443/0.1278, allocations: 32.81 kB / 361.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.1281, allocations: 209.1 kB / 362.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1281, allocations: 384 / 362.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.1281, allocations: 8.359 kB / 362.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.1285, allocations: 138.1 kB / 362.2 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1285, allocations: 4 kB / 362.2 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1285, allocations: 0 / 362.2 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.1285, allocations: 7.984 kB / 362.3 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.1287, allocations: 39.91 kB / 362.3 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.1292, allocations: 373.9 kB / 362.7 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.1293, allocations: 83.77 kB / 362.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.603e-05/0.1294, allocations: 46.62 kB / 362.8 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1294, allocations: 0 / 362.8 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.1295, allocations: 42.44 kB / 362.8 MB, free: 9.215 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1295, allocations: 0 / 362.8 MB, free: 9.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003848/0.1299, allocations: 113.8 kB / 362.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.628e-05/0.13, allocations: 106.8 kB / 363 MB, free: 8.969 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.1301, allocations: 154.8 kB / 363.2 MB, free: 8.809 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.1301, allocations: 33.62 kB / 363.2 MB, free: 8.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.1302, allocations: 100.1 kB / 363.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.1302, allocations: 7.906 kB / 363.3 MB, free: 8.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.1303, allocations: 25.61 kB / 363.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1304, allocations: 322.8 kB / 363.7 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.423e-05/0.1305, allocations: 19.98 kB / 363.7 MB, free: 8.285 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-05/0.1306, allocations: 47.34 kB / 363.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.1307, allocations: 67.34 kB / 363.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1307, allocations: 0 / 363.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001851/0.1309, allocations: 81.59 kB / 363.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1309, allocations: 8 kB / 363.9 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1309, allocations: 4.125 kB / 363.9 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.131, allocations: 0 / 363.9 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.703e-05/0.1311, allocations: 11.98 kB / 363.9 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1311, allocations: 4 kB / 363.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.743e-05/0.1311, allocations: 7.906 kB / 363.9 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1312, allocations: 0 / 363.9 MB, free: 8.027 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 9.813e-05/0.1313, allocations: 129.7 kB / 364 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.964e-05/0.1314, allocations: 53.59 kB / 364.1 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.1314, allocations: 19.86 kB / 364.1 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.1314, allocations: 4 kB / 364.1 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1314, allocations: 0 / 364.1 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1314, allocations: 0 / 364.1 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.1317, allocations: 185.6 kB / 364.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1317, allocations: 0 / 364.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.946e-05/0.1318, allocations: 7.984 kB / 364.3 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.1318, allocations: 4 kB / 364.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1318, allocations: 0 / 364.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1318, allocations: 0 / 364.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1318, allocations: 0 / 364.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.1321, allocations: 279.4 kB / 364.6 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.065e-05/0.1321, allocations: 97 kB / 364.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.1322, allocations: 0 / 364.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.1323, allocations: 11.98 kB / 364.7 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.1323, allocations: 4.141 kB / 364.7 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.1323, allocations: 7.984 kB / 364.7 MB, free: 7.133 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.729e-05/0.1324, allocations: 119.2 kB / 364.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1324, allocations: 3.938 kB / 364.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.1327, allocations: 8 kB / 364.8 MB, free: 7.004 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.0001279/0.1329, allocations: 103.2 kB / 364.9 MB, free: 6.895 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.1331, allocations: 59.83 kB / 365 MB, free: 6.836 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1331, allocations: 0 / 365 MB, free: 6.836 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.78e-05/0.1332, allocations: 23.92 kB / 365 MB, free: 6.812 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.1336, allocations: 27.92 kB / 365 MB, free: 6.785 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.1341, allocations: 205.2 kB / 365.2 MB, free: 6.551 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.1344, allocations: 0.704 MB / 365.9 MB, free: 5.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.936e-05/0.1344, allocations: 7.984 kB / 366 MB, free: 5.812 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.1344, allocations: 11.44 kB / 366 MB, free: 5.805 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1345, allocations: 0 / 366 MB, free: 5.805 MB / 302.1 MB Notification: Performance of Templates: time 0.003124/0.1376, allocations: 0.6982 MB / 366.7 MB, free: 5.125 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 -s gbode -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.0.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