Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 176.1 kB / 16.8 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.4 MB / 223 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007005/0.0007005, allocations: 81.02 kB / 271.3 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06667/0.06667, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004703, allocations: 11.94 kB / 393.3 MB, free: 65.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09392/0.09441, allocations: 50.37 MB / 443.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001459/0.09593, allocations: 1.242 MB / 444.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002918/0.09624, allocations: 135.6 kB / 445.1 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.785e-05/0.09632, allocations: 4 kB / 445.1 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.641e-05/0.09642, allocations: 11.92 kB / 445.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.377e-05/0.09651, allocations: 0 / 445.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.09672, allocations: 39.91 kB / 445.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.457e-05/0.0968, allocations: 39.8 kB / 445.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.09691, allocations: 23.97 kB / 445.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.726e-05/0.09695, allocations: 15.94 kB / 445.2 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.819e-05/0.09699, allocations: 15.86 kB / 445.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.09701, allocations: 0 / 445.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.09703, allocations: 0 / 445.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.79e-05/0.09708, allocations: 15.98 kB / 445.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.09712, allocations: 49.45 kB / 445.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.099e-05/0.09719, allocations: 43.92 kB / 445.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.0972, allocations: 0 / 445.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09721, allocations: 0 / 445.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.09721, allocations: 0 / 445.3 MB, free: 13.77 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.0003558/0.09757, allocations: 371.5 kB / 445.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.09761, allocations: 8.031 kB / 445.7 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.09765, allocations: 8.844 kB / 445.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.09779, allocations: 200 kB / 445.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.09781, allocations: 8.375 kB / 445.9 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.09783, allocations: 8.359 kB / 445.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.09808, allocations: 122.4 kB / 446 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.0981, allocations: 4.188 kB / 446 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.09811, allocations: 3.938 kB / 446 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.09814, allocations: 11.92 kB / 446.1 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.09826, allocations: 39.97 kB / 446.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.09859, allocations: 373.9 kB / 446.5 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.09872, allocations: 91.72 kB / 446.6 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.689e-05/0.0988, allocations: 38.62 kB / 446.6 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.09882, allocations: 3.984 kB / 446.6 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.09884, allocations: 38.56 kB / 446.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.09885, allocations: 3.938 kB / 446.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002961/0.09915, allocations: 109.5 kB / 446.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.09919, allocations: 119.2 kB / 446.9 MB, free: 12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.189e-05/0.09928, allocations: 141.5 kB / 447 MB, free: 11.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.0993, allocations: 25.7 kB / 447 MB, free: 11.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.09933, allocations: 92.12 kB / 447.1 MB, free: 11.72 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.027e-06/0.09935, allocations: 4 kB / 447.1 MB, free: 11.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.09936, allocations: 4 kB / 447.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.255e-05/0.0994, allocations: 310.8 kB / 447.4 MB, free: 11.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.964e-05/0.09947, allocations: 23.98 kB / 447.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.09953, allocations: 51.34 kB / 447.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.09965, allocations: 63.41 kB / 447.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.09966, allocations: 3.938 kB / 447.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001781/0.09985, allocations: 97.45 kB / 447.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.09987, allocations: 4 kB / 447.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.09988, allocations: 4 kB / 447.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.0999, allocations: 0 / 447.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.212e-05/0.09999, allocations: 15.98 kB / 447.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1, allocations: 0 / 447.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.209e-05/0.1, allocations: 12.11 kB / 447.7 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.1001, allocations: 4 kB / 447.7 MB, free: 11.1 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 (sample.u[2],sample.u[1],sample.y[2],sample.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 9.704e-05/0.1002, allocations: 121.8 kB / 447.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.335e-05/0.1002, allocations: 57.53 kB / 447.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.1003, allocations: 15.91 kB / 447.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.1003, allocations: 7.984 kB / 447.9 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1003, allocations: 3.938 kB / 447.9 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1003, allocations: 4 kB / 447.9 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.1005, allocations: 181.6 kB / 448.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1005, allocations: 0 / 448.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.1005, allocations: 11.98 kB / 448.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1006, allocations: 3.938 kB / 448.1 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.1006, allocations: 4 kB / 448.1 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1006, allocations: 0 / 448.1 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1006, allocations: 0 / 448.1 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.1008, allocations: 283.4 kB / 448.4 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.1008, allocations: 96.94 kB / 448.5 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.1008, allocations: 4 kB / 448.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.717e-05/0.1009, allocations: 12 kB / 448.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.101, allocations: 3.984 kB / 448.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.101, allocations: 4 kB / 448.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.551e-05/0.101, allocations: 107.2 kB / 448.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.101, allocations: 0 / 448.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.1013, allocations: 8 kB / 448.6 MB, free: 10.08 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 (sample.u[2],sample.u[1],sample.y[1],sample.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 6.988e-05/0.1014, allocations: 91.25 kB / 448.7 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.1015, allocations: 59.91 kB / 448.8 MB, free: 9.926 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1016, allocations: 0 / 448.8 MB, free: 9.926 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.041e-05/0.1016, allocations: 23.92 kB / 448.8 MB, free: 9.902 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.102, allocations: 36.33 kB / 448.8 MB, free: 9.867 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.1023, allocations: 224 kB / 449 MB, free: 9.602 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.1025, allocations: 0.7005 MB / 449.7 MB, free: 8.875 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.1025, allocations: 11.44 kB / 449.7 MB, free: 8.863 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1025, allocations: 3.938 kB / 449.7 MB, free: 8.859 MB / 298.7 MB Notification: Performance of Templates: time 0.001804/0.1043, allocations: 0.8108 MB / 450.6 MB, free: 8.051 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches