Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001476/0.001476, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 226.8 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001187/0.001187, allocations: 104 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2922, allocations: 50.45 MB / 407 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003257/0.2955, allocations: 1.598 MB / 408.6 MB, free: 26.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003804/0.2959, allocations: 147.5 kB / 408.8 MB, free: 26.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.767e-05/0.296, allocations: 0 / 408.8 MB, free: 26.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.2962, allocations: 3.938 kB / 408.8 MB, free: 26.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.885e-05/0.2963, allocations: 15.92 kB / 408.8 MB, free: 26.06 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.2965, allocations: 35.78 kB / 408.8 MB, free: 26.03 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.697e-05/0.2966, allocations: 39.86 kB / 408.9 MB, free: 25.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.2967, allocations: 23.97 kB / 408.9 MB, free: 25.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.203e-05/0.2968, allocations: 7.938 kB / 408.9 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.039e-05/0.2968, allocations: 15.92 kB / 408.9 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.2969, allocations: 7.938 kB / 408.9 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.564e-05/0.2969, allocations: 5.594 kB / 408.9 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.297, allocations: 11.98 kB / 409 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.297, allocations: 27.73 kB / 409 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.2971, allocations: 51.81 kB / 409 MB, free: 25.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2971, allocations: 3.031 kB / 409 MB, free: 25.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2971, allocations: 0 / 409 MB, free: 25.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.2972, allocations: 4 kB / 409 MB, free: 25.84 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.0004391/0.2976, allocations: 380.6 kB / 409.4 MB, free: 25.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2977, allocations: 8.031 kB / 409.4 MB, free: 25.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.2977, allocations: 8.844 kB / 409.4 MB, free: 25.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.2979, allocations: 200.2 kB / 409.6 MB, free: 25.17 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.2979, allocations: 384 / 409.6 MB, free: 25.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.2979, allocations: 4.375 kB / 409.6 MB, free: 25.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.2982, allocations: 122.4 kB / 409.7 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2983, allocations: 192 / 409.7 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.2983, allocations: 15.92 kB / 409.8 MB, free: 25.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/0.2983, allocations: 4 kB / 409.8 MB, free: 25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.2985, allocations: 35.91 kB / 409.8 MB, free: 24.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.2989, allocations: 373.9 kB / 410.2 MB, free: 24.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.2991, allocations: 79.72 kB / 410.2 MB, free: 24.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.92e-05/0.2992, allocations: 38.61 kB / 410.3 MB, free: 24.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.2992, allocations: 7.938 kB / 410.3 MB, free: 24.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.2992, allocations: 38.56 kB / 410.3 MB, free: 24.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.2992, allocations: 0 / 410.3 MB, free: 24.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004038/0.2996, allocations: 109.5 kB / 410.4 MB, free: 24.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.2997, allocations: 111.1 kB / 410.5 MB, free: 24.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.2998, allocations: 144.2 kB / 410.7 MB, free: 23.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.846e-06/0.2998, allocations: 25.7 kB / 410.7 MB, free: 23.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.2999, allocations: 92.14 kB / 410.8 MB, free: 23.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.11e-05/0.2999, allocations: 3.922 kB / 410.8 MB, free: 23.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.3, allocations: 17.72 kB / 410.8 MB, free: 23.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.283e-05/0.3, allocations: 318.8 kB / 411.1 MB, free: 23.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.373e-05/0.3001, allocations: 15.98 kB / 411.1 MB, free: 23.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.611e-05/0.3002, allocations: 43.44 kB / 411.2 MB, free: 23.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.3003, allocations: 63.28 kB / 411.3 MB, free: 23.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3004, allocations: 7.938 kB / 411.3 MB, free: 23.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002088/0.3006, allocations: 81.5 kB / 411.3 MB, free: 23.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3006, allocations: 6.812 kB / 411.3 MB, free: 23.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3006, allocations: 4 kB / 411.4 MB, free: 23.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3006, allocations: 0 / 411.4 MB, free: 23.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.6e-05/0.3007, allocations: 15.92 kB / 411.4 MB, free: 23.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3008, allocations: 8.125 kB / 411.4 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.055e-05/0.3008, allocations: 7.938 kB / 411.4 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.3008, allocations: 0 / 411.4 MB, free: 23.2 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.0001321/0.301, allocations: 127.3 kB / 411.5 MB, free: 23.06 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.3011, allocations: 53.59 kB / 411.6 MB, free: 23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.3011, allocations: 11.88 kB / 411.6 MB, free: 22.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.3012, allocations: 0 / 411.6 MB, free: 22.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3012, allocations: 4 kB / 411.6 MB, free: 22.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3012, allocations: 4.031 kB / 411.6 MB, free: 22.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.3015, allocations: 177.6 kB / 411.8 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3015, allocations: 3.938 kB / 411.8 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.3016, allocations: 11.94 kB / 411.8 MB, free: 22.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3016, allocations: 0 / 411.8 MB, free: 22.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.3016, allocations: 0 / 411.8 MB, free: 22.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3016, allocations: 4 kB / 411.8 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3016, allocations: 0 / 411.8 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.3021, allocations: 0.845 MB / 412.6 MB, free: 21.83 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.3021, allocations: 93 kB / 412.7 MB, free: 21.72 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.3022, allocations: 0 / 412.7 MB, free: 21.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.3023, allocations: 4 kB / 412.7 MB, free: 21.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.3024, allocations: 16.06 kB / 412.7 MB, free: 21.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.3024, allocations: 3.984 kB / 412.7 MB, free: 21.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.54e-05/0.3025, allocations: 109.8 kB / 412.8 MB, free: 21.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3025, allocations: 0 / 412.8 MB, free: 21.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007133/0.3032, allocations: 8 kB / 412.8 MB, free: 21.58 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 9.495e-05/0.3033, allocations: 103.2 kB / 412.9 MB, free: 21.47 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.3035, allocations: 47.91 kB / 413 MB, free: 21.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3035, allocations: 0 / 413 MB, free: 21.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.459e-05/0.3036, allocations: 19.92 kB / 413 MB, free: 21.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006379/0.3043, allocations: 31.94 kB / 413 MB, free: 21.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/0.3047, allocations: 312.3 kB / 413.3 MB, free: 21.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.3049, allocations: 0.6965 MB / 414 MB, free: 20.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.36e-05/0.3049, allocations: 8 kB / 414.1 MB, free: 20.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.66e-05/0.3049, allocations: 15.42 kB / 414.1 MB, free: 20.28 MB / 298.7 MB Notification: Performance of SimCode: time 2.71e-07/0.305, allocations: 0 / 414.1 MB, free: 20.28 MB / 298.7 MB Notification: Performance of Templates: time 0.003228/0.3082, allocations: 0.5636 MB / 414.6 MB, free: 19.73 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@2/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