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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008747/0.0008747, allocations: 176.7 kB / 8.051 MB, free: 1.023 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.488/1.488, allocations: 205.3 MB / 213.8 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009366/0.0009363, allocations: 94.14 kB / 261.8 MB, free: 1.676 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.07602/0.07602, allocations: 12.6 MB / 322.4 MB, free: 15.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.645e-05/1.66e-05, allocations: 4 kB / 378.9 MB, free: 6.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2155, allocations: 50.36 MB / 429.3 MB, free: 18.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1033/0.3188, allocations: 77.22 MB / 0.4947 GB, free: 5.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.319, allocations: 79.94 kB / 0.4947 GB, free: 4.941 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004238/0.3233, allocations: 1.68 MB / 0.4964 GB, free: 3.258 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3233, allocations: 0 / 0.4964 GB, free: 3.258 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.3233, allocations: 0 / 0.4964 GB, free: 3.258 MB / 346.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.0003462/0.3237, allocations: 382.2 kB / 0.4967 GB, free: 2.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3237, allocations: 8.031 kB / 0.4967 GB, free: 2.832 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.3237, allocations: 15.81 kB / 0.4968 GB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.324, allocations: 201.3 kB / 0.4969 GB, free: 2.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.324, allocations: 4 kB / 0.497 GB, free: 2.578 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.324, allocations: 11.97 kB / 0.497 GB, free: 2.566 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001265/0.3241, allocations: 55.86 kB / 0.497 GB, free: 2.512 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.3245, allocations: 210.4 kB / 0.4972 GB, free: 2.297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3245, allocations: 0 / 0.4972 GB, free: 2.297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3245, allocations: 4 kB / 0.4972 GB, free: 2.293 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3245, allocations: 0 / 0.4972 GB, free: 2.293 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.3247, allocations: 166.1 kB / 0.4974 GB, free: 2.094 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.3249, allocations: 131 kB / 0.4975 GB, free: 1.957 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.325, allocations: 80.77 kB / 0.4976 GB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.325, allocations: 4 kB / 0.4976 GB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.325, allocations: 34.56 kB / 0.4976 GB, free: 1.828 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.3251, allocations: 0 / 0.4976 GB, free: 1.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002185/0.3253, allocations: 127 kB / 0.4977 GB, free: 1.699 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.3253, allocations: 67.3 kB / 0.4978 GB, free: 1.621 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3255, allocations: 149.2 kB / 0.4979 GB, free: 1.465 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.3255, allocations: 25.7 kB / 0.498 GB, free: 1.434 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.3255, allocations: 88.47 kB / 0.4981 GB, free: 1.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.3256, allocations: 11.89 kB / 0.4981 GB, free: 1.328 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.3256, allocations: 0 / 0.4981 GB, free: 1.328 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3257, allocations: 322.8 kB / 0.4984 GB, free: 1.004 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.115e-05/0.3257, allocations: 20 kB / 0.4984 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.956e-05/0.3258, allocations: 113.7 kB / 0.4985 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.033e-05/0.3259, allocations: 35.98 kB / 0.4985 GB, free: 0.7891 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3259, allocations: 4 kB / 0.4985 GB, free: 0.7852 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000188/0.3261, allocations: 145.2 kB / 0.4987 GB, free: 0.6367 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3261, allocations: 4 kB / 0.4987 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3261, allocations: 8.438 kB / 0.4987 GB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3261, allocations: 8 kB / 0.4987 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3262, allocations: 31.98 kB / 0.4987 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.3263, allocations: 7.938 kB / 0.4987 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.666e-05/0.3263, allocations: 19.78 kB / 0.4988 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.3263, allocations: 8 kB / 0.4988 GB, free: 0.5508 MB / 346.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 8.921e-05/0.3264, allocations: 120.9 kB / 0.4989 GB, free: 436 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.3266, allocations: 119.2 kB / 0.499 GB, free: 312 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.292e-05/0.3266, allocations: 20.75 kB / 0.499 GB, free: 292 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3266, allocations: 0 / 0.499 GB, free: 292 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3267, allocations: 0 / 0.499 GB, free: 292 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3267, allocations: 0 / 0.499 GB, free: 292 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.3268, allocations: 166 kB / 0.4992 GB, free: 88 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3268, allocations: 0 / 0.4992 GB, free: 88 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.3269, allocations: 31.92 kB / 0.4992 GB, free: 56 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3269, allocations: 0 / 0.4992 GB, free: 56 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3269, allocations: 0 / 0.4992 GB, free: 56 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3269, allocations: 0 / 0.4992 GB, free: 56 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3269, allocations: 0 / 0.4992 GB, free: 56 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.3271, allocations: 167.4 kB / 0.4994 GB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.356e-05/0.3272, allocations: 100.9 kB / 0.4995 GB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.3272, allocations: 0 / 0.4995 GB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.158e-05/0.3273, allocations: 4 kB / 0.4995 GB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-06/0.3273, allocations: 0 / 0.4995 GB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3273, allocations: 4 kB / 0.4995 GB, free: 15.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.039e-05/0.3274, allocations: 119.9 kB / 0.4996 GB, free: 15.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3274, allocations: 0 / 0.4996 GB, free: 15.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002224/0.3276, allocations: 16 kB / 0.4996 GB, free: 15.61 MB / 362.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.0001074/0.3277, allocations: 104.5 kB / 0.4997 GB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.3279, allocations: 87.8 kB / 0.4998 GB, free: 15.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3279, allocations: 1 kB / 0.4998 GB, free: 15.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-07/0.3279, allocations: 0 / 0.4998 GB, free: 15.42 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.3282, allocations: 87.2 kB / 0.4999 GB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.3285, allocations: 184.6 kB / 0.5 GB, free: 15.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.3288, allocations: 0.724 MB / 0.5007 GB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.097e-05/0.3288, allocations: 9.203 kB / 0.5008 GB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.3288, allocations: 19.44 kB / 0.5008 GB, free: 14.36 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3288, allocations: 3.938 kB / 0.5008 GB, free: 14.35 MB / 362.7 MB Notification: Performance of Templates: time 0.002905/0.3317, allocations: 0.9852 MB / 0.5017 GB, free: 13.37 MB / 362.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