Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum1.y|sum2.y|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 192 kB / 7.848 MB, free: 2.496 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.32/1.32, allocations: 205.2 MB / 213.5 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.0008603/0.0008602, allocations: 94.03 kB / 261.5 MB, free: 13.54 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.08578/0.08578, allocations: 12.59 MB / 322 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.543e-06/6.563e-06, allocations: 0 / 378.4 MB, free: 75.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08547/0.0855, allocations: 50.38 MB / 428.8 MB, free: 25.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2456/0.3311, allocations: 77.14 MB / 0.4941 GB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.3314, allocations: 74.5 kB / 0.4941 GB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.003988/0.3354, allocations: 1.366 MB / 0.4955 GB, free: 11.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.3354, allocations: 3.844 kB / 0.4955 GB, free: 11.91 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.0002671/0.3357, allocations: 381.4 kB / 0.4958 GB, free: 11.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.3357, allocations: 8.75 kB / 0.4958 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.3358, allocations: 15.56 kB / 0.4958 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.336, allocations: 210.5 kB / 0.496 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.336, allocations: 0 / 0.496 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.336, allocations: 7.656 kB / 0.4961 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000114/0.3361, allocations: 47.77 kB / 0.4961 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.3364, allocations: 221.6 kB / 0.4963 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.3364, allocations: 0 / 0.4963 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3365, allocations: 0.8906 kB / 0.4963 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3365, allocations: 0 / 0.4963 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001098/0.3366, allocations: 163.6 kB / 0.4965 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.3368, allocations: 137.2 kB / 0.4966 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.901e-05/0.3369, allocations: 87.91 kB / 0.4967 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.3369, allocations: 0 / 0.4967 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.076e-05/0.337, allocations: 35.48 kB / 0.4967 GB, free: 11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 9.11e-07/0.337, allocations: 0 / 0.4967 GB, free: 11 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001864/0.3372, allocations: 125.3 kB / 0.4968 GB, free: 10.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.3372, allocations: 59.86 kB / 0.4969 GB, free: 10.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.187e-05/0.3373, allocations: 153.9 kB / 0.497 GB, free: 10.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.148e-06/0.3373, allocations: 25.7 kB / 0.4971 GB, free: 10.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.673e-05/0.3373, allocations: 89.28 kB / 0.4972 GB, free: 10.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.3374, allocations: 6.562 kB / 0.4972 GB, free: 10.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.3374, allocations: 3.844 kB / 0.4972 GB, free: 10.67 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.583e-05/0.3374, allocations: 322.8 kB / 0.4975 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.831e-05/0.3375, allocations: 20.03 kB / 0.4975 GB, free: 10.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.8e-05/0.3375, allocations: 116 kB / 0.4976 GB, free: 10.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.014e-05/0.3376, allocations: 40.56 kB / 0.4976 GB, free: 10.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3376, allocations: 7.875 kB / 0.4976 GB, free: 10.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001605/0.3378, allocations: 130.3 kB / 0.4978 GB, free: 10.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.3378, allocations: 7.656 kB / 0.4978 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3378, allocations: 8.281 kB / 0.4978 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3378, allocations: 8.625 kB / 0.4978 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.3379, allocations: 34.14 kB / 0.4978 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3379, allocations: 4.812 kB / 0.4978 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.709e-05/0.338, allocations: 11.72 kB / 0.4978 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.338, allocations: 8.359 kB / 0.4978 GB, free: 10.14 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 5.943e-05/0.3381, allocations: 125 kB / 0.498 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.3382, allocations: 123.8 kB / 0.4981 GB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.476e-05/0.3382, allocations: 21.8 kB / 0.4981 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3383, allocations: 0 / 0.4981 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3383, allocations: 0.8906 kB / 0.4981 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.3383, allocations: 0.5156 kB / 0.4981 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.614e-05/0.3384, allocations: 164.2 kB / 0.4983 GB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3384, allocations: 0 / 0.4983 GB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.3385, allocations: 31.27 kB / 0.4983 GB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3385, allocations: 0 / 0.4983 GB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.3385, allocations: 0 / 0.4983 GB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3385, allocations: 7.828 kB / 0.4983 GB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3385, allocations: 0 / 0.4983 GB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001605/0.3387, allocations: 163.2 kB / 0.4985 GB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.3388, allocations: 105.4 kB / 0.4986 GB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.3388, allocations: 4.781 kB / 0.4986 GB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.066e-05/0.3388, allocations: 0 / 0.4986 GB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-06/0.3388, allocations: 7.812 kB / 0.4986 GB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.3388, allocations: 0.7031 kB / 0.4986 GB, free: 9.609 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.279e-05/0.3389, allocations: 118.9 kB / 0.4987 GB, free: 9.531 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002178/0.3391, allocations: 15.62 kB / 0.4987 GB, free: 9.527 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 7.902e-05/0.3392, allocations: 100.1 kB / 0.4988 GB, free: 9.441 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.3393, allocations: 86.05 kB / 0.4989 GB, free: 9.434 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3394, allocations: 1 kB / 0.4989 GB, free: 9.434 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.71e-07/0.3394, allocations: 0 / 0.4989 GB, free: 9.434 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.3396, allocations: 89.16 kB / 0.499 GB, free: 9.418 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002776/0.3399, allocations: 172.8 kB / 0.4991 GB, free: 9.328 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.3401, allocations: 0.7376 MB / 0.4998 GB, free: 8.621 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3401, allocations: 0 / 0.4998 GB, free: 8.621 MB / 330.7 MB Notification: Performance of Templates: time 0.003404/0.3435, allocations: 1.2 MB / 0.501 GB, free: 8.512 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_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_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches