Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.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.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|unitDelay2.y|xor.y|xor1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|unitDelay2.y|xor.y|xor1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 192.7 kB / 7.849 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.21/1.21, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.000898/0.0008982, allocations: 90.64 kB / 261.5 MB, free: 13.55 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.06825/0.06825, allocations: 12.59 MB / 322 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.841e-06/6.121e-06, allocations: 0 / 378.4 MB, free: 75.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09428/0.0943, allocations: 50.37 MB / 428.8 MB, free: 25.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.33/0.4244, allocations: 77.12 MB / 0.494 GB, free: 11.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.4247, allocations: 72.05 kB / 0.4941 GB, free: 11.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.003581/0.4283, allocations: 1.241 MB / 0.4953 GB, free: 11.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.4283, allocations: 0 / 0.4953 GB, free: 11.71 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.0002618/0.4286, allocations: 355.8 kB / 0.4957 GB, free: 11.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.4286, allocations: 11.53 kB / 0.4957 GB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.4287, allocations: 7.625 kB / 0.4957 GB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.4289, allocations: 201 kB / 0.4959 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.4289, allocations: 4.75 kB / 0.4959 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.4289, allocations: 3.75 kB / 0.4959 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001088/0.429, allocations: 41.67 kB / 0.4959 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.4293, allocations: 193.3 kB / 0.4961 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.4293, allocations: 3.938 kB / 0.4961 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.4293, allocations: 0 / 0.4961 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.4293, allocations: 3.938 kB / 0.4961 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.4295, allocations: 159.1 kB / 0.4963 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.4296, allocations: 115.7 kB / 0.4964 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.056e-05/0.4297, allocations: 70.36 kB / 0.4964 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.4298, allocations: 0 / 0.4964 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.4298, allocations: 39.81 kB / 0.4965 GB, free: 10.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.021e-06/0.4298, allocations: 0 / 0.4965 GB, free: 10.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002028/0.43, allocations: 110.9 kB / 0.4966 GB, free: 10.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.4301, allocations: 62.97 kB / 0.4966 GB, free: 10.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.4302, allocations: 125.7 kB / 0.4968 GB, free: 10.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.4302, allocations: 25.7 kB / 0.4968 GB, free: 10.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.477e-05/0.4302, allocations: 81.59 kB / 0.4969 GB, free: 10.51 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.4302, allocations: 18.17 kB / 0.4969 GB, free: 10.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.4303, allocations: 7.938 kB / 0.4969 GB, free: 10.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.515e-05/0.4303, allocations: 321.8 kB / 0.4972 GB, free: 10.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.517e-05/0.4304, allocations: 11.69 kB / 0.4972 GB, free: 10.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.056e-05/0.4304, allocations: 119.7 kB / 0.4973 GB, free: 10.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.158e-05/0.4305, allocations: 35.52 kB / 0.4974 GB, free: 10.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.4305, allocations: 3.812 kB / 0.4974 GB, free: 10.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001519/0.4307, allocations: 130.6 kB / 0.4975 GB, free: 9.984 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.4307, allocations: 7.844 kB / 0.4975 GB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.4307, allocations: 3.875 kB / 0.4975 GB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4307, allocations: 3.875 kB / 0.4975 GB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.467e-05/0.4308, allocations: 10.62 kB / 0.4975 GB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.4308, allocations: 7.75 kB / 0.4975 GB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.551e-05/0.4308, allocations: 3.938 kB / 0.4975 GB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.4308, allocations: 8.859 kB / 0.4975 GB, free: 9.98 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 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],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.484e-05/0.4309, allocations: 128.4 kB / 0.4976 GB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.431, allocations: 105.9 kB / 0.4977 GB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.4311, allocations: 13.2 kB / 0.4978 GB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.4311, allocations: 3.875 kB / 0.4978 GB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4311, allocations: 1.312 kB / 0.4978 GB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4311, allocations: 0 / 0.4978 GB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.96e-05/0.4312, allocations: 156.5 kB / 0.4979 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4312, allocations: 0 / 0.4979 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/0.4313, allocations: 7.75 kB / 0.4979 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4313, allocations: 5.312 kB / 0.4979 GB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.4313, allocations: 0 / 0.4979 GB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4313, allocations: 3.906 kB / 0.4979 GB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4313, allocations: 0 / 0.4979 GB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001667/0.4315, allocations: 139.3 kB / 0.4981 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/0.4316, allocations: 97.88 kB / 0.4982 GB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.4316, allocations: 0 / 0.4982 GB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.903e-05/0.4316, allocations: 3.938 kB / 0.4982 GB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-06/0.4316, allocations: 7.906 kB / 0.4982 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.4316, allocations: 5.078 kB / 0.4982 GB, free: 9.461 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.243e-05/0.4317, allocations: 104.9 kB / 0.4983 GB, free: 9.387 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002164/0.4319, allocations: 15.28 kB / 0.4983 GB, free: 9.383 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,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.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 9.658e-05/0.432, allocations: 101.8 kB / 0.4984 GB, free: 9.293 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.4322, allocations: 84.7 kB / 0.4985 GB, free: 9.281 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4322, allocations: 4.062 kB / 0.4985 GB, free: 9.277 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.4322, allocations: 0 / 0.4985 GB, free: 9.277 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.4325, allocations: 70.31 kB / 0.4985 GB, free: 9.266 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.4328, allocations: 159.6 kB / 0.4987 GB, free: 9.176 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/0.4332, allocations: 0.7355 MB / 0.4994 GB, free: 8.469 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4332, allocations: 0 / 0.4994 GB, free: 8.469 MB / 330.7 MB Notification: Performance of Templates: time 0.003456/0.4366, allocations: 1.065 MB / 0.5004 GB, free: 8.359 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches