Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001547/0.001547, allocations: 194.2 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00111/0.00111, allocations: 99.19 kB / 299.8 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00052/0.0005202, allocations: 8 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3143, allocations: 51.41 MB / 412.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001841/0.3162, allocations: 1.248 MB / 413.3 MB, free: 24.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004484/0.3167, allocations: 139.6 kB / 413.4 MB, free: 24.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.3168, allocations: 7.938 kB / 413.4 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.317, allocations: 7.938 kB / 413.5 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.3171, allocations: 3.938 kB / 413.5 MB, free: 24.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.3174, allocations: 32.56 kB / 413.5 MB, free: 24.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.595e-05/0.3175, allocations: 47.78 kB / 413.5 MB, free: 24.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3176, allocations: 19.42 kB / 413.6 MB, free: 24.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.675e-05/0.3177, allocations: 11.92 kB / 413.6 MB, free: 24.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.711e-05/0.3177, allocations: 19.88 kB / 413.6 MB, free: 24.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.3178, allocations: 0 / 413.6 MB, free: 24.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.269e-05/0.3178, allocations: 0 / 413.6 MB, free: 24.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.642e-05/0.3178, allocations: 19.31 kB / 413.6 MB, free: 24.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.3179, allocations: 49.45 kB / 413.7 MB, free: 24.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.861e-05/0.318, allocations: 47.81 kB / 413.7 MB, free: 24.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.318, allocations: 0 / 413.7 MB, free: 24.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.318, allocations: 0 / 413.7 MB, free: 24.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.318, allocations: 0 / 413.7 MB, free: 24.25 MB / 298.7 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.0004622/0.3185, allocations: 374.9 kB / 414.1 MB, free: 23.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3185, allocations: 8.031 kB / 414.1 MB, free: 23.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.3186, allocations: 8.844 kB / 414.1 MB, free: 23.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.3188, allocations: 204 kB / 414.3 MB, free: 23.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3188, allocations: 384 / 414.3 MB, free: 23.58 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.3188, allocations: 8.375 kB / 414.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.3191, allocations: 122.5 kB / 414.4 MB, free: 23.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3192, allocations: 192 / 414.4 MB, free: 23.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3192, allocations: 7.938 kB / 414.4 MB, free: 23.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.3192, allocations: 4 kB / 414.4 MB, free: 23.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.3194, allocations: 43.91 kB / 414.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.3198, allocations: 377.9 kB / 414.8 MB, free: 22.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.3199, allocations: 83.72 kB / 414.9 MB, free: 22.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.034e-05/0.32, allocations: 42.62 kB / 415 MB, free: 22.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.32, allocations: 0 / 415 MB, free: 22.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.32, allocations: 50.47 kB / 415 MB, free: 22.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.32, allocations: 0 / 415 MB, free: 22.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003326/0.3204, allocations: 117.5 kB / 415.1 MB, free: 22.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.3204, allocations: 111.2 kB / 415.2 MB, free: 22.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.3205, allocations: 139.2 kB / 415.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.916e-06/0.3205, allocations: 29.7 kB / 415.4 MB, free: 22.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.3206, allocations: 92.12 kB / 415.5 MB, free: 22.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.232e-05/0.3206, allocations: 7.844 kB / 415.5 MB, free: 22.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.3206, allocations: 0 / 415.5 MB, free: 22.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.089e-05/0.3207, allocations: 322.8 kB / 415.8 MB, free: 21.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.786e-05/0.3208, allocations: 19.92 kB / 415.8 MB, free: 21.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.865e-05/0.3208, allocations: 51.41 kB / 415.9 MB, free: 21.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.3209, allocations: 71.34 kB / 415.9 MB, free: 21.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.321, allocations: 3.938 kB / 415.9 MB, free: 21.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001481/0.3211, allocations: 89.55 kB / 416 MB, free: 21.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3211, allocations: 4 kB / 416 MB, free: 21.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3211, allocations: 0 / 416 MB, free: 21.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3212, allocations: 4 kB / 416 MB, free: 21.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.605e-05/0.3213, allocations: 11.98 kB / 416.1 MB, free: 21.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3213, allocations: 4 kB / 416.1 MB, free: 21.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.219e-05/0.3213, allocations: 15.92 kB / 416.1 MB, free: 21.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.3213, allocations: 0 / 416.1 MB, free: 21.57 MB / 298.7 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.0001137/0.3214, allocations: 129.8 kB / 416.2 MB, free: 21.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.632e-05/0.3215, allocations: 49.59 kB / 416.2 MB, free: 21.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.3216, allocations: 11.88 kB / 416.3 MB, free: 21.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.3216, allocations: 7.984 kB / 416.3 MB, free: 21.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3216, allocations: 0 / 416.3 MB, free: 21.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3216, allocations: 0 / 416.3 MB, free: 21.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.3218, allocations: 173.6 kB / 416.4 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.3218, allocations: 4 kB / 416.4 MB, free: 21.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.616e-05/0.3219, allocations: 20.02 kB / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3219, allocations: 0 / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.3219, allocations: 0 / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3219, allocations: 0 / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3219, allocations: 7.938 kB / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.3221, allocations: 275.5 kB / 416.7 MB, free: 20.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.3221, allocations: 93 kB / 416.8 MB, free: 20.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.3221, allocations: 0 / 416.8 MB, free: 20.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.276e-05/0.3222, allocations: 8 kB / 416.8 MB, free: 20.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.3223, allocations: 3.984 kB / 416.8 MB, free: 20.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.3223, allocations: 4 kB / 416.8 MB, free: 20.69 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.062e-05/0.3224, allocations: 113.8 kB / 417 MB, free: 20.58 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3224, allocations: 0 / 417 MB, free: 20.58 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.3226, allocations: 8 kB / 417 MB, free: 20.57 MB / 298.7 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.0001051/0.3227, allocations: 107.2 kB / 417.1 MB, free: 20.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.3229, allocations: 55.91 kB / 417.1 MB, free: 20.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3229, allocations: 0 / 417.1 MB, free: 20.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.254e-05/0.323, allocations: 27.92 kB / 417.2 MB, free: 20.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.3234, allocations: 31.88 kB / 417.2 MB, free: 20.35 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.3237, allocations: 200.9 kB / 417.4 MB, free: 20.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.3239, allocations: 0.7004 MB / 418.1 MB, free: 19.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.909e-05/0.324, allocations: 4 kB / 418.1 MB, free: 19.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.324, allocations: 11.44 kB / 418.1 MB, free: 19.38 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.324, allocations: 0 / 418.1 MB, free: 19.38 MB / 298.7 MB Notification: Performance of Templates: time 0.002526/0.3265, allocations: 0.5596 MB / 418.7 MB, free: 18.82 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches