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.0007465/0.0007465, allocations: 93.39 kB / 17.31 MB, free: 6.535 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.0009719/0.0009718, allocations: 175.5 kB / 18.21 MB, free: 5.684 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.285/1.285, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002291/0.0002291, allocations: 11.92 kB / 302.1 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07337/0.07361, allocations: 50.4 MB / 352.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001456/0.07509, allocations: 1.245 MB / 353.7 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003072/0.07541, allocations: 147.3 kB / 353.9 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.167e-05/0.07548, allocations: 0 / 353.9 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.99e-05/0.07556, allocations: 11.92 kB / 353.9 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.135e-05/0.07564, allocations: 7.984 kB / 353.9 MB, free: 2.301 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.07584, allocations: 43.11 kB / 353.9 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.752e-05/0.07593, allocations: 39.84 kB / 354 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.853e-05/0.07602, allocations: 19.98 kB / 354 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.902e-05/0.07606, allocations: 15.88 kB / 354 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.851e-05/0.0761, allocations: 11.92 kB / 354 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.07612, allocations: 0 / 354 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.07614, allocations: 4 kB / 354 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.987e-05/0.07619, allocations: 15.92 kB / 354 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.07624, allocations: 45.52 kB / 354.1 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.79e-05/0.07631, allocations: 43.86 kB / 354.1 MB, free: 2.062 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.07632, allocations: 0 / 354.1 MB, free: 2.062 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.07633, allocations: 0 / 354.1 MB, free: 2.062 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.07634, allocations: 4 kB / 354.1 MB, free: 2.059 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.0003832/0.07672, allocations: 371.5 kB / 354.5 MB, free: 1.645 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.07676, allocations: 12.03 kB / 354.5 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.0768, allocations: 12.84 kB / 354.5 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.07696, allocations: 194.8 kB / 354.7 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.07698, allocations: 4.375 kB / 354.7 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.077, allocations: 4.375 kB / 354.7 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.07727, allocations: 134.4 kB / 354.9 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.07729, allocations: 192 / 354.9 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.0773, allocations: 3.938 kB / 354.9 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.07733, allocations: 4 kB / 354.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.07747, allocations: 43.97 kB / 354.9 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.07787, allocations: 373.8 kB / 355.3 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.07801, allocations: 91.7 kB / 355.4 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.413e-05/0.07811, allocations: 42.62 kB / 355.4 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.07813, allocations: 4 kB / 355.4 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.07815, allocations: 34.5 kB / 355.4 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.07816, allocations: 0 / 355.4 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003547/0.07852, allocations: 125.5 kB / 355.6 MB, free: 428 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.07858, allocations: 102.8 kB / 355.7 MB, free: 300 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.0787, allocations: 146.1 kB / 355.8 MB, free: 144 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.07872, allocations: 29.7 kB / 355.8 MB, free: 108 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.07876, allocations: 88.05 kB / 355.9 MB, free: 16 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.161e-05/0.07878, allocations: 11.98 kB / 355.9 MB, free: 4 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.07882, allocations: 13.7 kB / 355.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.449e-05/0.07891, allocations: 318.8 kB / 356.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.769e-05/0.07899, allocations: 19.92 kB / 356.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.777e-05/0.07907, allocations: 47.42 kB / 356.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.07922, allocations: 75.34 kB / 356.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.07924, allocations: 3.938 kB / 356.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001887/0.07943, allocations: 97.47 kB / 356.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.07945, allocations: 4 kB / 356.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.07946, allocations: 0 / 356.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.07948, allocations: 4 kB / 356.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.092e-05/0.07956, allocations: 11.98 kB / 356.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.07958, allocations: 4 kB / 356.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.978e-05/0.07963, allocations: 8 kB / 356.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.07965, allocations: 4 kB / 356.5 MB, free: 15.36 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.0001009/0.07975, allocations: 133.8 kB / 356.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.704e-05/0.07985, allocations: 49.53 kB / 356.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.07988, allocations: 11.88 kB / 356.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.0799, allocations: 4 kB / 356.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.07991, allocations: 0 / 356.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.07992, allocations: 7.984 kB / 356.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.08014, allocations: 173.6 kB / 356.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.08015, allocations: 0 / 356.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-05/0.0802, allocations: 12.03 kB / 356.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.08022, allocations: 0 / 356.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.08023, allocations: 3.938 kB / 356.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.08024, allocations: 7.984 kB / 356.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.08024, allocations: 4 kB / 356.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.08049, allocations: 279.4 kB / 357.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.08055, allocations: 93 kB / 357.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.08058, allocations: 4 kB / 357.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.08069, allocations: 4 kB / 357.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.08072, allocations: 3.984 kB / 357.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.08074, allocations: 8 kB / 357.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.929e-05/0.08081, allocations: 105.8 kB / 357.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08082, allocations: 0 / 357.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.0811, allocations: 12 kB / 357.4 MB, free: 14.36 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 7.36e-05/0.08118, allocations: 107.2 kB / 357.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.08137, allocations: 51.91 kB / 357.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.08138, allocations: 0 / 357.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.286e-05/0.08146, allocations: 27.92 kB / 357.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.08187, allocations: 24.09 kB / 357.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.08221, allocations: 240.4 kB / 357.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.08243, allocations: 0.6965 MB / 358.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.08247, allocations: 11.44 kB / 358.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.08247, allocations: 0 / 358.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of Templates: time 0.002003/0.08448, allocations: 0.8005 MB / 359.4 MB, free: 12.32 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