Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum1.y|sum2.y|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum1.y|sum2.y|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001622/0.001622, allocations: 176.3 kB / 8.191 MB, free: 2.18 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.2 MB / 213.8 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001787/0.001787, allocations: 98.16 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09718/0.09718, allocations: 12.59 MB / 322.3 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.834e-06/7.965e-06, allocations: 0 / 378.4 MB, free: 76.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08792/0.08795, allocations: 50.37 MB / 428.7 MB, free: 25.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2961/0.3841, allocations: 77.15 MB / 0.494 GB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.3844, allocations: 72.88 kB / 0.4941 GB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.00586/0.3903, allocations: 1.357 MB / 0.4954 GB, free: 11.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.3903, allocations: 3.969 kB / 0.4954 GB, free: 11.52 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003661/0.3907, allocations: 378.4 kB / 0.4958 GB, free: 11.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3908, allocations: 7.75 kB / 0.4958 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.3908, allocations: 19.66 kB / 0.4958 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.3911, allocations: 206 kB / 0.496 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.3911, allocations: 3.906 kB / 0.496 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3911, allocations: 5.172 kB / 0.496 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001709/0.3913, allocations: 54.8 kB / 0.4961 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004883/0.3918, allocations: 216.7 kB / 0.4963 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3919, allocations: 4.781 kB / 0.4963 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.3919, allocations: 0.875 kB / 0.4963 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3919, allocations: 0 / 0.4963 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.392, allocations: 163.3 kB / 0.4964 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.3924, allocations: 141.1 kB / 0.4966 GB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.3925, allocations: 75.38 kB / 0.4967 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.3926, allocations: 0 / 0.4967 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.3926, allocations: 39.14 kB / 0.4967 GB, free: 10.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.3926, allocations: 3.938 kB / 0.4967 GB, free: 10.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003208/0.3929, allocations: 129.5 kB / 0.4968 GB, free: 10.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.393, allocations: 56.23 kB / 0.4969 GB, free: 10.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.3932, allocations: 156 kB / 0.497 GB, free: 10.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.3932, allocations: 29.7 kB / 0.497 GB, free: 10.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.3932, allocations: 150.9 kB / 0.4972 GB, free: 10.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.3933, allocations: 10.33 kB / 0.4972 GB, free: 10.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-06/0.3933, allocations: 0 / 0.4972 GB, free: 10.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.624e-05/0.3934, allocations: 325 kB / 0.4975 GB, free: 9.898 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.528e-05/0.3934, allocations: 12.66 kB / 0.4975 GB, free: 9.898 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.05e-05/0.3935, allocations: 118.5 kB / 0.4976 GB, free: 9.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.154e-05/0.3936, allocations: 43.78 kB / 0.4977 GB, free: 9.762 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3936, allocations: 0 / 0.4977 GB, free: 9.762 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002453/0.3939, allocations: 135 kB / 0.4978 GB, free: 9.703 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3939, allocations: 3.875 kB / 0.4978 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3939, allocations: 7.797 kB / 0.4978 GB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.3939, allocations: 7.719 kB / 0.4978 GB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.3942, allocations: 34.95 kB / 0.4979 GB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.3942, allocations: 15.5 kB / 0.4979 GB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.754e-05/0.3943, allocations: 11.75 kB / 0.4979 GB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.3943, allocations: 7.562 kB / 0.4979 GB, free: 9.684 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.747e-05/0.3944, allocations: 49.95 kB / 0.4979 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002255/0.3946, allocations: 123.4 kB / 0.4981 GB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.483e-05/0.3947, allocations: 13.25 kB / 0.4981 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3947, allocations: 3.906 kB / 0.4981 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3947, allocations: 4 kB / 0.4981 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3947, allocations: 1.312 kB / 0.4981 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.3948, allocations: 159.5 kB / 0.4982 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3948, allocations: 0 / 0.4982 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.3951, allocations: 33.95 kB / 0.4983 GB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3951, allocations: 0 / 0.4983 GB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.3951, allocations: 0 / 0.4983 GB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3951, allocations: 3.938 kB / 0.4983 GB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3951, allocations: 3.906 kB / 0.4983 GB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002532/0.3954, allocations: 159.6 kB / 0.4984 GB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.812e-05/0.3955, allocations: 104.2 kB / 0.4985 GB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.3955, allocations: 0 / 0.4985 GB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.23e-05/0.3956, allocations: 8.875 kB / 0.4985 GB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-06/0.3956, allocations: 0 / 0.4985 GB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.3956, allocations: 0 / 0.4985 GB, free: 9.238 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.602e-05/0.3957, allocations: 113.8 kB / 0.4986 GB, free: 9.164 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003126/0.396, allocations: 11.38 kB / 0.4987 GB, free: 9.164 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001204/0.3962, allocations: 111.5 kB / 0.4988 GB, free: 9.066 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.3964, allocations: 85.86 kB / 0.4988 GB, free: 9.059 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3964, allocations: 0 / 0.4988 GB, free: 9.059 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.3964, allocations: 0 / 0.4988 GB, free: 9.059 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.3969, allocations: 83.47 kB / 0.4989 GB, free: 9.051 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/0.3974, allocations: 206.4 kB / 0.4991 GB, free: 8.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.3976, allocations: 0.7374 MB / 0.4998 GB, free: 8.219 MB / 330.7 MB Notification: Performance of SimCode: time 1.532e-06/0.3976, allocations: 3.906 kB / 0.4998 GB, free: 8.219 MB / 330.7 MB Notification: Performance of Templates: time 0.003776/0.4014, allocations: 1.329 MB / 0.5011 GB, free: 8.125 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches