Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001476/0.001476, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001467/0.001467, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.577/1.577, allocations: 227.7 MB / 247.7 MB, free: 10.36 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003135/0.003135, allocations: 67.48 kB / 307.9 MB, free: 0.4961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1325, allocations: 50.54 MB / 358.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003619/0.1362, allocations: 1.612 MB / 360.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1374, allocations: 0.5571 MB / 360.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.551e-05/0.1375, allocations: 0 / 360.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.1377, allocations: 7.875 kB / 360.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.1378, allocations: 23.78 kB / 360.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.1381, allocations: 63.19 kB / 360.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.1383, allocations: 67.72 kB / 360.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.1385, allocations: 31.94 kB / 360.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.1387, allocations: 31.86 kB / 360.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.396e-05/0.1388, allocations: 23.86 kB / 360.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.1388, allocations: 4 kB / 360.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.819e-05/0.1389, allocations: 8 kB / 360.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.582e-05/0.1389, allocations: 27.91 kB / 360.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.086e-05/0.139, allocations: 35.73 kB / 360.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.1392, allocations: 75.72 kB / 361 MB, free: 11.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1392, allocations: 0 / 361 MB, free: 11.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1392, allocations: 0 / 361 MB, free: 11.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1392, allocations: 0 / 361 MB, free: 11.36 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.0006246/0.1398, allocations: 399.2 kB / 361.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1399, allocations: 8.031 kB / 361.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.1402, allocations: 32.83 kB / 361.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.1404, allocations: 200.1 kB / 361.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.1404, allocations: 8.375 kB / 361.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.1404, allocations: 384 / 361.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.1408, allocations: 138.1 kB / 361.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1408, allocations: 7.938 kB / 361.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1408, allocations: 0 / 361.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.1409, allocations: 4 kB / 361.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.141, allocations: 35.97 kB / 361.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005442/0.1416, allocations: 377.8 kB / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.1417, allocations: 83.77 kB / 362.3 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.764e-05/0.1418, allocations: 38.62 kB / 362.3 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1419, allocations: 12 kB / 362.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.1419, allocations: 30.56 kB / 362.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1419, allocations: 0 / 362.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000417/0.1424, allocations: 117.8 kB / 362.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.461e-05/0.1425, allocations: 110.8 kB / 362.6 MB, free: 9.555 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.1426, allocations: 158.2 kB / 362.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1427, allocations: 25.7 kB / 362.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.1427, allocations: 92.08 kB / 362.8 MB, free: 9.266 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.1428, allocations: 7.906 kB / 362.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.1428, allocations: 25.61 kB / 362.9 MB, free: 9.227 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.143, allocations: 326.7 kB / 363.2 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.078e-05/0.1431, allocations: 27.91 kB / 363.2 MB, free: 8.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.758e-05/0.1432, allocations: 39.42 kB / 363.3 MB, free: 8.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.1433, allocations: 67.34 kB / 363.3 MB, free: 8.742 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1433, allocations: 0 / 363.3 MB, free: 8.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002146/0.1436, allocations: 89.53 kB / 363.4 MB, free: 8.648 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1436, allocations: 4 kB / 363.4 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1436, allocations: 0 / 363.4 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1436, allocations: 4 kB / 363.4 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1437, allocations: 16.11 kB / 363.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1437, allocations: 0 / 363.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.039e-05/0.1438, allocations: 7.906 kB / 363.4 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1438, allocations: 4 kB / 363.4 MB, free: 8.613 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.0001054/0.1439, allocations: 122.6 kB / 363.6 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.1441, allocations: 57.53 kB / 363.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.1441, allocations: 15.83 kB / 363.6 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.1441, allocations: 4 kB / 363.6 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1441, allocations: 8.016 kB / 363.7 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1442, allocations: 0 / 363.7 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.1444, allocations: 181.6 kB / 363.8 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1444, allocations: 0 / 363.8 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.316e-05/0.1445, allocations: 8 kB / 363.8 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1445, allocations: 0 / 363.8 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1445, allocations: 3.984 kB / 363.8 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1445, allocations: 4 kB / 363.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1446, allocations: 96 / 363.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.1449, allocations: 283.4 kB / 364.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.313e-05/0.145, allocations: 93 kB / 364.2 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.145, allocations: 4 kB / 364.2 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.1451, allocations: 3.984 kB / 364.2 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.1452, allocations: 8 kB / 364.2 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1452, allocations: 4 kB / 364.2 MB, free: 7.723 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.1453, allocations: 119.2 kB / 364.3 MB, free: 7.605 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1453, allocations: 0 / 364.3 MB, free: 7.605 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.1456, allocations: 12 kB / 364.4 MB, free: 7.594 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.0001224/0.1457, allocations: 103.2 kB / 364.5 MB, free: 7.484 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.146, allocations: 56.03 kB / 364.5 MB, free: 7.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.146, allocations: 8 kB / 364.5 MB, free: 7.422 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-05/0.1461, allocations: 15.98 kB / 364.5 MB, free: 7.406 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005251/0.1466, allocations: 35.8 kB / 364.6 MB, free: 7.371 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.1471, allocations: 242.6 kB / 364.8 MB, free: 7.094 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.1475, allocations: 0.6963 MB / 365.5 MB, free: 6.371 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.1475, allocations: 11.42 kB / 365.5 MB, free: 6.363 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1475, allocations: 0 / 365.5 MB, free: 6.363 MB / 302.1 MB Notification: Performance of Templates: time 0.003068/0.1506, allocations: 0.9582 MB / 366.5 MB, free: 5.41 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches