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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009408/0.0009408, allocations: 180.9 kB / 8.049 MB, free: 1.027 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.511/1.511, allocations: 205.3 MB / 213.8 MB, free: 1.746 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.0008191/0.0008191, allocations: 90.62 kB / 261.8 MB, free: 1.688 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.07776/0.07776, allocations: 12.6 MB / 322.4 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.206e-05/1.217e-05, allocations: 0 / 378.9 MB, free: 6.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2137, allocations: 50.37 MB / 429.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09145/0.3052, allocations: 77.2 MB / 0.4946 GB, free: 5.031 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.3055, allocations: 75.95 kB / 0.4947 GB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003968/0.3095, allocations: 1.549 MB / 0.4962 GB, free: 3.406 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3095, allocations: 0 / 0.4962 GB, free: 3.406 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.3095, allocations: 7.938 kB / 0.4962 GB, free: 3.398 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.0003099/0.3099, allocations: 358.3 kB / 0.4966 GB, free: 3.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3099, allocations: 12.03 kB / 0.4966 GB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.3099, allocations: 7.906 kB / 0.4966 GB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.3101, allocations: 198.8 kB / 0.4968 GB, free: 2.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.3102, allocations: 8 kB / 0.4968 GB, free: 2.742 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.3102, allocations: 7.984 kB / 0.4968 GB, free: 2.734 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001069/0.3103, allocations: 32 kB / 0.4968 GB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.3106, allocations: 194.3 kB / 0.497 GB, free: 2.504 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3106, allocations: 0 / 0.497 GB, free: 2.504 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3106, allocations: 8 kB / 0.497 GB, free: 2.496 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.3107, allocations: 0 / 0.497 GB, free: 2.496 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.3108, allocations: 154.2 kB / 0.4972 GB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.311, allocations: 111 kB / 0.4973 GB, free: 2.191 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.896e-05/0.3111, allocations: 72.83 kB / 0.4973 GB, free: 2.117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.3111, allocations: 8 kB / 0.4974 GB, free: 2.109 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.3112, allocations: 30.56 kB / 0.4974 GB, free: 2.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.3112, allocations: 0 / 0.4974 GB, free: 2.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002079/0.3114, allocations: 111.1 kB / 0.4975 GB, free: 1.957 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.3114, allocations: 59.36 kB / 0.4975 GB, free: 1.887 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.3115, allocations: 125.1 kB / 0.4977 GB, free: 1.754 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.3116, allocations: 25.7 kB / 0.4977 GB, free: 1.723 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/0.3116, allocations: 92.45 kB / 0.4978 GB, free: 1.625 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.3116, allocations: 8 kB / 0.4978 GB, free: 1.617 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/0.3116, allocations: 3.938 kB / 0.4978 GB, free: 1.613 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3118, allocations: 322.8 kB / 0.4981 GB, free: 1.289 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.643e-05/0.3118, allocations: 15.94 kB / 0.4981 GB, free: 1.273 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.3119, allocations: 114.5 kB / 0.4982 GB, free: 1.113 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.798e-05/0.312, allocations: 39.92 kB / 0.4983 GB, free: 1.074 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.312, allocations: 0 / 0.4983 GB, free: 1.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001855/0.3122, allocations: 133.3 kB / 0.4984 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3122, allocations: 4.938 kB / 0.4984 GB, free: 0.9336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3122, allocations: 4 kB / 0.4984 GB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3122, allocations: 4 kB / 0.4984 GB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.184e-05/0.3123, allocations: 15.92 kB / 0.4984 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.3123, allocations: 15.97 kB / 0.4984 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.841e-05/0.3123, allocations: 8.422 kB / 0.4984 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.3124, allocations: 12 kB / 0.4984 GB, free: 0.875 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 (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 8.867e-05/0.3125, allocations: 120.9 kB / 0.4986 GB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.3126, allocations: 103.2 kB / 0.4987 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.346e-05/0.3127, allocations: 24.62 kB / 0.4987 GB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3127, allocations: 0 / 0.4987 GB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3127, allocations: 0 / 0.4987 GB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3127, allocations: 4 kB / 0.4987 GB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.3128, allocations: 154.1 kB / 0.4988 GB, free: 444 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3128, allocations: 4 kB / 0.4988 GB, free: 440 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.3128, allocations: 4 kB / 0.4988 GB, free: 436 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3128, allocations: 4 kB / 0.4988 GB, free: 432 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.3128, allocations: 0 / 0.4988 GB, free: 432 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3129, allocations: 0 / 0.4988 GB, free: 432 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3129, allocations: 0 / 0.4988 GB, free: 432 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.313, allocations: 144.8 kB / 0.499 GB, free: 268 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.3131, allocations: 93 kB / 0.4991 GB, free: 156 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.3131, allocations: 8 kB / 0.4991 GB, free: 148 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.799e-05/0.3132, allocations: 0 / 0.4991 GB, free: 148 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-06/0.3132, allocations: 0 / 0.4991 GB, free: 148 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.3132, allocations: 4 kB / 0.4991 GB, free: 144 kB / 346.7 MB Notification: Performance of sorting global known variables: time 6.346e-05/0.3133, allocations: 107.1 kB / 0.4992 GB, free: 36 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3133, allocations: 0 / 0.4992 GB, free: 36 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002107/0.3135, allocations: 12 kB / 0.4992 GB, free: 24 kB / 346.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 0.0001321/0.3136, allocations: 107 kB / 0.4993 GB, free: 15.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.3138, allocations: 94.19 kB / 0.4994 GB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3138, allocations: 0 / 0.4994 GB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-07/0.3138, allocations: 0 / 0.4994 GB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.3141, allocations: 71.22 kB / 0.4995 GB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.3144, allocations: 148.4 kB / 0.4996 GB, free: 15.58 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.3147, allocations: 0.7211 MB / 0.5003 GB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.36e-05/0.3148, allocations: 8.766 kB / 0.5003 GB, free: 14.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.3148, allocations: 15.44 kB / 0.5003 GB, free: 14.81 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3148, allocations: 0 / 0.5003 GB, free: 14.81 MB / 362.7 MB Notification: Performance of Templates: time 0.002719/0.3175, allocations: 0.8767 MB / 0.5012 GB, free: 13.94 MB / 362.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