Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y.1.|assignClock1.y.2.|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y.1.|assignClock1.y.2.|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008959/0.0008959, 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.335/1.335, allocations: 205.3 MB / 213.8 MB, free: 1.742 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.000773/0.000773, allocations: 82.7 kB / 261.8 MB, free: 1.684 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.06648/0.06648, allocations: 12.6 MB / 322.3 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.423e-05/1.44e-05, allocations: 0 / 378.9 MB, free: 6.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2212, allocations: 50.38 MB / 429.3 MB, free: 18.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09612/0.3174, allocations: 77.11 MB / 0.4946 GB, free: 5.137 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.3177, allocations: 75.95 kB / 0.4946 GB, free: 5.062 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004018/0.3217, allocations: 1.611 MB / 0.4962 GB, free: 3.449 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3217, allocations: 0 / 0.4962 GB, free: 3.449 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.3217, allocations: 4 kB / 0.4962 GB, free: 3.445 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.0003235/0.3221, allocations: 370.2 kB / 0.4966 GB, free: 3.039 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.3221, allocations: 8.031 kB / 0.4966 GB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.3222, allocations: 15.81 kB / 0.4966 GB, free: 3.016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.3224, allocations: 206.7 kB / 0.4968 GB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3224, allocations: 4 kB / 0.4968 GB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.3224, allocations: 11.98 kB / 0.4968 GB, free: 2.758 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001015/0.3225, allocations: 28 kB / 0.4968 GB, free: 2.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.3228, allocations: 194.3 kB / 0.497 GB, free: 2.531 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3229, allocations: 0 / 0.497 GB, free: 2.531 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3229, allocations: 0 / 0.497 GB, free: 2.531 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3229, allocations: 4 kB / 0.497 GB, free: 2.527 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.323, allocations: 162.1 kB / 0.4972 GB, free: 2.332 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.3232, allocations: 111 kB / 0.4973 GB, free: 2.215 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.79e-05/0.3233, allocations: 60.86 kB / 0.4973 GB, free: 2.152 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.3233, allocations: 4 kB / 0.4973 GB, free: 2.148 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.3233, allocations: 42.55 kB / 0.4974 GB, free: 2.098 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.3234, allocations: 0 / 0.4974 GB, free: 2.098 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001913/0.3235, allocations: 107.1 kB / 0.4975 GB, free: 1.988 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.3236, allocations: 59.36 kB / 0.4975 GB, free: 1.918 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.3237, allocations: 130.1 kB / 0.4977 GB, free: 1.777 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.3237, allocations: 25.7 kB / 0.4977 GB, free: 1.746 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.961e-05/0.3238, allocations: 84.47 kB / 0.4978 GB, free: 1.656 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.3238, allocations: 15.89 kB / 0.4978 GB, free: 1.641 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.3238, allocations: 4 kB / 0.4978 GB, free: 1.637 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.45e-05/0.3239, allocations: 322.8 kB / 0.4981 GB, free: 1.312 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.705e-05/0.3239, allocations: 15.94 kB / 0.4981 GB, free: 1.297 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.815e-05/0.324, allocations: 117.7 kB / 0.4982 GB, free: 1.133 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.868e-05/0.3241, allocations: 39.92 kB / 0.4983 GB, free: 1.094 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3241, allocations: 0 / 0.4983 GB, free: 1.094 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001686/0.3243, allocations: 129.5 kB / 0.4984 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3243, allocations: 7.984 kB / 0.4984 GB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.3243, allocations: 8 kB / 0.4984 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3243, allocations: 8 kB / 0.4984 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.3244, allocations: 31.92 kB / 0.4984 GB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.3244, allocations: 4 kB / 0.4984 GB, free: 0.9023 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.266e-05/0.3245, allocations: 15.8 kB / 0.4984 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.3245, allocations: 12.28 kB / 0.4985 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: 0 () * 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.011e-05/0.3246, allocations: 116.9 kB / 0.4986 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.3247, allocations: 107.1 kB / 0.4987 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.3248, allocations: 12.75 kB / 0.4987 GB, free: 0.6367 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.3248, allocations: 4 kB / 0.4987 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3248, allocations: 0 / 0.4987 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3248, allocations: 0 / 0.4987 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.521e-05/0.3249, allocations: 174 kB / 0.4989 GB, free: 436 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3249, allocations: 0 / 0.4989 GB, free: 436 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.632e-05/0.325, allocations: 23.98 kB / 0.4989 GB, free: 412 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.325, allocations: 4 kB / 0.4989 GB, free: 408 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.325, allocations: 0 / 0.4989 GB, free: 408 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.325, allocations: 0 / 0.4989 GB, free: 408 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.325, allocations: 0 / 0.4989 GB, free: 408 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.3252, allocations: 140.8 kB / 0.499 GB, free: 248 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.3253, allocations: 100.9 kB / 0.4991 GB, free: 128 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.3253, allocations: 3.984 kB / 0.4991 GB, free: 124 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.284e-05/0.3253, allocations: 0 / 0.4991 GB, free: 124 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-06/0.3254, allocations: 0 / 0.4991 GB, free: 124 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.3254, allocations: 8 kB / 0.4991 GB, free: 116 kB / 346.7 MB Notification: Performance of sorting global known variables: time 6.055e-05/0.3254, allocations: 112.5 kB / 0.4992 GB, free: 4 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3254, allocations: 0 / 0.4992 GB, free: 4 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002197/0.3257, allocations: 12.05 kB / 0.4992 GB, free: 15.99 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: 0 () * 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.115e-05/0.3258, allocations: 95.03 kB / 0.4993 GB, free: 15.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.3259, allocations: 78.83 kB / 0.4994 GB, free: 15.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3259, allocations: 384 / 0.4994 GB, free: 15.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4e-07/0.3259, allocations: 11.94 kB / 0.4994 GB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.3262, allocations: 71.78 kB / 0.4995 GB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.3265, allocations: 152.8 kB / 0.4996 GB, free: 15.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.3267, allocations: 0.7201 MB / 0.5003 GB, free: 14.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.066e-05/0.3268, allocations: 12.77 kB / 0.5003 GB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.3268, allocations: 15.44 kB / 0.5004 GB, free: 14.79 MB / 362.7 MB Notification: Performance of SimCode: time 2.394e-06/0.3268, allocations: 0 / 0.5004 GB, free: 14.79 MB / 362.7 MB Notification: Performance of Templates: time 0.002732/0.3296, allocations: 0.8487 MB / 0.5012 GB, free: 13.94 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches