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.00167/0.00167, allocations: 102.6 kB / 17.59 MB, free: 5.418 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.001808/0.001808, allocations: 191.3 kB / 18.51 MB, free: 4.496 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.504/1.504, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 47.42 kB / 301.3 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1271, allocations: 49.45 MB / 350.7 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003651/0.1308, allocations: 1.513 MB / 352.2 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005238/0.1313, allocations: 156.9 kB / 352.4 MB, free: 2.738 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.1315, allocations: 4 kB / 352.4 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.1317, allocations: 3.938 kB / 352.4 MB, free: 2.73 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.1318, allocations: 15.84 kB / 352.4 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.1321, allocations: 35.92 kB / 352.5 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.1322, allocations: 39.84 kB / 352.5 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.1324, allocations: 19.98 kB / 352.5 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.145e-05/0.1325, allocations: 19.92 kB / 352.5 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.488e-05/0.1325, allocations: 11.94 kB / 352.6 MB, free: 2.59 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.1325, allocations: 4 kB / 352.6 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.474e-05/0.1326, allocations: 11.88 kB / 352.6 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.865e-05/0.1326, allocations: 11.98 kB / 352.6 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.957e-05/0.1327, allocations: 27.75 kB / 352.6 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.1328, allocations: 55.8 kB / 352.7 MB, free: 2.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1328, allocations: 0 / 352.7 MB, free: 2.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1329, allocations: 4 kB / 352.7 MB, free: 2.477 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1329, allocations: 0 / 352.7 MB, free: 2.477 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.0005457/0.1334, allocations: 387.3 kB / 353 MB, free: 2.047 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1335, allocations: 12.03 kB / 353.1 MB, free: 2.035 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.1335, allocations: 8.844 kB / 353.1 MB, free: 2.027 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.1338, allocations: 188.1 kB / 353.2 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1338, allocations: 8.375 kB / 353.3 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.1338, allocations: 384 / 353.3 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.1341, allocations: 126.4 kB / 353.4 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1342, allocations: 192 / 353.4 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1342, allocations: 3.938 kB / 353.4 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.1342, allocations: 4 kB / 353.4 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.1343, allocations: 43.91 kB / 353.4 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.1349, allocations: 365.8 kB / 353.8 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.135, allocations: 87.7 kB / 353.9 MB, free: 1.074 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.068e-05/0.1351, allocations: 38.62 kB / 353.9 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.1352, allocations: 3.984 kB / 353.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/0.1353, allocations: 38.56 kB / 354 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.1353, allocations: 0 / 354 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000362/0.1356, allocations: 109.5 kB / 354.1 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.503e-05/0.1357, allocations: 114.8 kB / 354.2 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.1359, allocations: 144.7 kB / 354.3 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.1359, allocations: 26.08 kB / 354.3 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.136, allocations: 96.14 kB / 354.4 MB, free: 460 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.136, allocations: 3.906 kB / 354.4 MB, free: 456 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.136, allocations: 25.7 kB / 354.5 MB, free: 424 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1362, allocations: 310.8 kB / 354.8 MB, free: 104 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.639e-05/0.1362, allocations: 19.98 kB / 354.8 MB, free: 84 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.1364, allocations: 43.41 kB / 354.8 MB, free: 28 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.1365, allocations: 63.28 kB / 354.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1365, allocations: 3.938 kB / 354.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001838/0.1367, allocations: 85.52 kB / 355 MB, free: 15.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1368, allocations: 4 kB / 355 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1368, allocations: 3.938 kB / 355 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1368, allocations: 0 / 355 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.929e-05/0.1369, allocations: 15.98 kB / 355 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.1369, allocations: 0 / 355 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.137, allocations: 7.984 kB / 355 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.137, allocations: 0 / 355 MB, free: 15.83 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.0001737/0.1372, allocations: 129.8 kB / 355.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.1373, allocations: 53.59 kB / 355.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/0.1373, allocations: 15.81 kB / 355.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/0.1373, allocations: 7.984 kB / 355.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1374, allocations: 0 / 355.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1374, allocations: 0 / 355.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.1376, allocations: 173.6 kB / 355.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.1376, allocations: 4 kB / 355.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-05/0.1377, allocations: 12.02 kB / 355.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1377, allocations: 0 / 355.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1377, allocations: 4 kB / 355.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1377, allocations: 0 / 355.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1377, allocations: 0 / 355.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.138, allocations: 271.4 kB / 355.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-05/0.1381, allocations: 93 kB / 355.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.1381, allocations: 0 / 355.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.1382, allocations: 8 kB / 355.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.1383, allocations: 3.984 kB / 355.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.1383, allocations: 4 kB / 355.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.949e-05/0.1384, allocations: 107.2 kB / 355.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1384, allocations: 0 / 355.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.1387, allocations: 8 kB / 355.9 MB, free: 14.84 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.0001157/0.1388, allocations: 103.2 kB / 356 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.139, allocations: 55.91 kB / 356 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.139, allocations: 3.938 kB / 356 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.867e-05/0.1391, allocations: 12.3 kB / 356.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.1395, allocations: 43.95 kB / 356.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.14, allocations: 212.7 kB / 356.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.1403, allocations: 0.7003 MB / 357 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.1403, allocations: 11.44 kB / 357 MB, free: 13.63 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1403, allocations: 0 / 357 MB, free: 13.63 MB / 302.1 MB Notification: Performance of Templates: time 0.002992/0.1433, allocations: 0.8185 MB / 357.8 MB, free: 12.82 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/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