Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_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_cpp_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.002181/0.002181, allocations: 179.4 kB / 8.407 MB, free: 0.6719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.3 MB / 214.1 MB, free: 1.734 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.001308/0.001308, allocations: 90.64 kB / 262.2 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.09864/0.09864, allocations: 12.59 MB / 322.7 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.559e-05/2.555e-05, allocations: 8 kB / 378.9 MB, free: 6.898 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3047, allocations: 50.37 MB / 429.3 MB, free: 18.43 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1412/0.446, allocations: 77.12 MB / 0.4945 GB, free: 5.203 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004427/0.4466, allocations: 79.88 kB / 0.4946 GB, free: 5.125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008014/0.4546, allocations: 1.599 MB / 0.4962 GB, free: 3.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4547, allocations: 0 / 0.4962 GB, free: 3.523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.4547, allocations: 4 kB / 0.4962 GB, free: 3.52 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.0004984/0.4552, allocations: 370.2 kB / 0.4965 GB, free: 3.113 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.4553, allocations: 12.03 kB / 0.4965 GB, free: 3.102 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.4553, allocations: 15.81 kB / 0.4966 GB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.4556, allocations: 206.7 kB / 0.4967 GB, free: 2.844 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.4557, allocations: 0 / 0.4967 GB, free: 2.844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.4557, allocations: 4 kB / 0.4968 GB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001641/0.4559, allocations: 39.98 kB / 0.4968 GB, free: 2.801 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004808/0.4564, allocations: 194.3 kB / 0.497 GB, free: 2.602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4564, allocations: 0 / 0.497 GB, free: 2.602 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.4564, allocations: 0 / 0.497 GB, free: 2.602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.4564, allocations: 4 kB / 0.497 GB, free: 2.598 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.4567, allocations: 158.1 kB / 0.4971 GB, free: 2.406 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.457, allocations: 114.8 kB / 0.4972 GB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.4572, allocations: 72.97 kB / 0.4973 GB, free: 2.211 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.4572, allocations: 0 / 0.4973 GB, free: 2.211 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.4572, allocations: 30.56 kB / 0.4973 GB, free: 2.172 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.4573, allocations: 4 kB / 0.4973 GB, free: 2.168 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003368/0.4576, allocations: 109.7 kB / 0.4974 GB, free: 2.055 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.4577, allocations: 59.36 kB / 0.4975 GB, free: 1.984 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.4579, allocations: 126.2 kB / 0.4976 GB, free: 1.848 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.4579, allocations: 29.7 kB / 0.4977 GB, free: 1.812 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.458, allocations: 158.9 kB / 0.4978 GB, free: 1.652 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.4581, allocations: 7.906 kB / 0.4978 GB, free: 1.645 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-06/0.4581, allocations: 0 / 0.4978 GB, free: 1.645 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4583, allocations: 326.8 kB / 0.4981 GB, free: 1.316 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.967e-05/0.4583, allocations: 12 kB / 0.4981 GB, free: 1.305 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.4585, allocations: 117.7 kB / 0.4982 GB, free: 1.141 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.275e-05/0.4586, allocations: 35.92 kB / 0.4983 GB, free: 1.105 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.4586, allocations: 4 kB / 0.4983 GB, free: 1.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000316/0.4589, allocations: 133.2 kB / 0.4984 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.459, allocations: 4 kB / 0.4984 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.459, allocations: 4 kB / 0.4984 GB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/0.459, allocations: 8.5 kB / 0.4984 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.4592, allocations: 35.92 kB / 0.4985 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.4593, allocations: 4 kB / 0.4985 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.436e-05/0.4594, allocations: 11.89 kB / 0.4985 GB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.4594, allocations: 8 kB / 0.4985 GB, free: 0.8906 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 0.0001118/0.4595, allocations: 108.9 kB / 0.4986 GB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.4598, allocations: 119 kB / 0.4987 GB, free: 0.6562 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.155e-05/0.4598, allocations: 8.75 kB / 0.4987 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.4599, allocations: 8 kB / 0.4987 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4599, allocations: 0 / 0.4987 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4599, allocations: 4 kB / 0.4987 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.4601, allocations: 166.1 kB / 0.4989 GB, free: 452 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4601, allocations: 0 / 0.4989 GB, free: 452 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.4603, allocations: 27.98 kB / 0.4989 GB, free: 424 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.4603, allocations: 0 / 0.4989 GB, free: 424 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.4603, allocations: 0 / 0.4989 GB, free: 424 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.4603, allocations: 4 kB / 0.4989 GB, free: 420 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4604, allocations: 0 / 0.4989 GB, free: 420 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.4606, allocations: 140.8 kB / 0.499 GB, free: 260 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.4608, allocations: 100.9 kB / 0.4991 GB, free: 140 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.4608, allocations: 3.984 kB / 0.4991 GB, free: 136 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.155e-05/0.4609, allocations: 0 / 0.4991 GB, free: 136 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-06/0.4609, allocations: 4 kB / 0.4991 GB, free: 132 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.4609, allocations: 0 / 0.4991 GB, free: 132 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001138/0.461, allocations: 116.5 kB / 0.4993 GB, free: 16 kB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.461, allocations: 0 / 0.4993 GB, free: 16 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003423/0.4614, allocations: 12 kB / 0.4993 GB, free: 4 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: 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 0.00016/0.4616, allocations: 99.03 kB / 0.4994 GB, free: 15.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002365/0.4618, allocations: 75.86 kB / 0.4994 GB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.922e-06/0.4618, allocations: 0 / 0.4994 GB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.4618, allocations: 3.938 kB / 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.0004667/0.4623, allocations: 70.17 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.0004948/0.4628, allocations: 187.4 kB / 0.4997 GB, free: 15.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.4632, allocations: 0.7279 MB / 0.5004 GB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/0.4633, allocations: 15.38 kB / 0.5004 GB, free: 14.77 MB / 362.7 MB Notification: Performance of SimCode: time 3.046e-06/0.4633, allocations: 4 kB / 0.5004 GB, free: 14.77 MB / 362.7 MB Notification: Performance of Templates: time 0.004165/0.4674, allocations: 1.154 MB / 0.5015 GB, free: 13.62 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches