Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 107.5 kB / 16.92 MB, free: 5.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.001631, allocations: 191.5 kB / 17.85 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 222.9 MB / 241.5 MB, free: 15.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 51.17 kB / 300.6 MB, free: 5.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1352, allocations: 49.45 MB / 350.1 MB, free: 4.379 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003379/0.1387, allocations: 1.503 MB / 351.6 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004629/0.1392, allocations: 164.9 kB / 351.7 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.1393, allocations: 0 / 351.7 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.1394, allocations: 7.922 kB / 351.7 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.1396, allocations: 15.86 kB / 351.7 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.1398, allocations: 35.91 kB / 351.8 MB, free: 2.637 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.14, allocations: 43.84 kB / 351.8 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1401, allocations: 16 kB / 351.8 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.868e-05/0.1401, allocations: 15.92 kB / 351.9 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.908e-05/0.1402, allocations: 15.92 kB / 351.9 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.1402, allocations: 4 kB / 351.9 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.437e-05/0.1403, allocations: 7.938 kB / 351.9 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.914e-05/0.1403, allocations: 12 kB / 351.9 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.769e-05/0.1404, allocations: 31.73 kB / 351.9 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.1405, allocations: 55.75 kB / 352 MB, free: 2.438 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1405, allocations: 0 / 352 MB, free: 2.438 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1405, allocations: 0 / 352 MB, free: 2.438 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1405, allocations: 0 / 352 MB, free: 2.438 MB / 286.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.0005372/0.1411, allocations: 387.3 kB / 352.4 MB, free: 2.008 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1411, allocations: 12.03 kB / 352.4 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.1412, allocations: 8.844 kB / 352.4 MB, free: 1.988 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.1414, allocations: 196.1 kB / 352.6 MB, free: 1.758 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1414, allocations: 4.375 kB / 352.6 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.1415, allocations: 384 / 352.6 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.1418, allocations: 126.4 kB / 352.7 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1418, allocations: 192 / 352.7 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.1419, allocations: 7.938 kB / 352.7 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/0.1419, allocations: 4 kB / 352.7 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.142, allocations: 35.91 kB / 352.7 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.1425, allocations: 373.8 kB / 353.1 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.1427, allocations: 83.78 kB / 353.2 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.136e-05/0.1428, allocations: 38.56 kB / 353.2 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.1428, allocations: 0 / 353.2 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.1428, allocations: 38.55 kB / 353.3 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1428, allocations: 0 / 353.3 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003669/0.1432, allocations: 105.6 kB / 353.4 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.1433, allocations: 118.7 kB / 353.5 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.1434, allocations: 140.8 kB / 353.6 MB, free: 0.543 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.1434, allocations: 25.7 kB / 353.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.1435, allocations: 92.12 kB / 353.7 MB, free: 428 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.1435, allocations: 8.188 kB / 353.7 MB, free: 420 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.1436, allocations: 21.72 kB / 353.8 MB, free: 392 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1437, allocations: 318.8 kB / 354.1 MB, free: 64 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/0.1438, allocations: 15.98 kB / 354.1 MB, free: 48 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.613e-05/0.1439, allocations: 39.42 kB / 354.1 MB, free: 16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.144, allocations: 63.28 kB / 354.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.144, allocations: 3.938 kB / 354.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000183/0.1442, allocations: 85.62 kB / 354.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1442, allocations: 8 kB / 354.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1443, allocations: 0 / 354.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1443, allocations: 4 kB / 354.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.6e-05/0.1444, allocations: 11.94 kB / 354.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1444, allocations: 0 / 354.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.487e-05/0.1444, allocations: 7.984 kB / 354.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1445, allocations: 4 kB / 354.3 MB, free: 15.79 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: 4 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.y[1]) * 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.0001412/0.1446, allocations: 133.7 kB / 354.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.447e-05/0.1447, allocations: 49.61 kB / 354.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.1447, allocations: 15.86 kB / 354.5 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.1448, allocations: 4 kB / 354.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1448, allocations: 0 / 354.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.1448, allocations: 8.078 kB / 354.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.145, allocations: 177.5 kB / 354.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.145, allocations: 0 / 354.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.1451, allocations: 11.92 kB / 354.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1451, allocations: 4 kB / 354.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1451, allocations: 4.031 kB / 354.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.1451, allocations: 3.984 kB / 354.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1451, allocations: 0 / 354.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.1454, allocations: 267.5 kB / 355 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.912e-05/0.1455, allocations: 93 kB / 355.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.1455, allocations: 4 kB / 355.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1456, allocations: 11.92 kB / 355.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.1457, allocations: 4 kB / 355.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.1457, allocations: 0 / 355.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.04e-05/0.1457, allocations: 110.2 kB / 355.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1458, allocations: 0 / 355.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.146, allocations: 8 kB / 355.2 MB, free: 14.8 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: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * 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.0001388/0.1462, allocations: 111.2 kB / 355.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.1464, allocations: 51.89 kB / 355.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1464, allocations: 0 / 355.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.423e-05/0.1465, allocations: 19.98 kB / 355.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.1469, allocations: 27.89 kB / 355.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.1473, allocations: 191 kB / 355.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.1476, allocations: 0.6963 MB / 356.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.211e-05/0.1477, allocations: 11.97 kB / 356.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.1477, allocations: 15.44 kB / 356.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1477, allocations: 0 / 356.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of Templates: time 0.003142/0.1508, allocations: 0.6196 MB / 356.9 MB, free: 13 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches