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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009361/0.0009361, allocations: 84.19 kB / 15.75 MB, free: 416 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008885/0.0008887, allocations: 176 kB / 16.63 MB, free: 6.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.4 MB / 222.8 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08544/0.08544, allocations: 12.6 MB / 283.7 MB, free: 8.684 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008437/0.0008439, allocations: 24 kB / 344.5 MB, free: 21.24 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1115, allocations: 50.38 MB / 394.9 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.001469/0.113, allocations: 0.718 MB / 395.6 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004359/0.1135, allocations: 147.6 kB / 395.8 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.1136, allocations: 0 / 395.8 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.603e-05/0.1137, allocations: 3.938 kB / 395.8 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.1138, allocations: 15.86 kB / 395.8 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.1141, allocations: 35.97 kB / 395.8 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.1143, allocations: 59.78 kB / 395.9 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.1144, allocations: 32.16 kB / 395.9 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.655e-05/0.1144, allocations: 7.938 kB / 395.9 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.131e-05/0.1145, allocations: 31.73 kB / 396 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1145, allocations: 8 kB / 396 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.1145, allocations: 0 / 396 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.234e-05/0.1146, allocations: 27.89 kB / 396 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.1147, allocations: 37.64 kB / 396 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.1148, allocations: 55.89 kB / 396.1 MB, free: 1.594 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1148, allocations: 0 / 396.1 MB, free: 1.594 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1148, allocations: 0 / 396.1 MB, free: 1.594 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1148, allocations: 0 / 396.1 MB, free: 1.594 MB / 286.1 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.0005487/0.1154, allocations: 391.2 kB / 396.5 MB, free: 1.164 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.1154, allocations: 12.03 kB / 396.5 MB, free: 1.152 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.553e-05/0.1155, allocations: 11.91 kB / 396.5 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.1157, allocations: 199.3 kB / 396.7 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.1158, allocations: 11.95 kB / 396.7 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.1158, allocations: 4 kB / 396.7 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.1162, allocations: 214.8 kB / 396.9 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1162, allocations: 3.953 kB / 396.9 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1163, allocations: 11.92 kB / 396.9 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1163, allocations: 0 / 396.9 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.08e-05/0.1163, allocations: 39.97 kB / 397 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.1165, allocations: 189.6 kB / 397.2 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.1168, allocations: 134.9 kB / 397.3 MB, free: 244 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.1169, allocations: 72.77 kB / 397.4 MB, free: 168 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.1169, allocations: 4 kB / 397.4 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1169, allocations: 34.56 kB / 397.4 MB, free: 120 kB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.117, allocations: 0 / 397.4 MB, free: 120 kB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003384/0.1173, allocations: 149.8 kB / 397.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.1174, allocations: 67.33 kB / 397.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1175, allocations: 147 kB / 397.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.1176, allocations: 29.7 kB / 397.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.1176, allocations: 92.45 kB / 397.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.1177, allocations: 4 kB / 397.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.1177, allocations: 4 kB / 397.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1178, allocations: 326.8 kB / 398.2 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.1178, allocations: 15.98 kB / 398.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.1179, allocations: 132.6 kB / 398.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.285e-05/0.118, allocations: 35.94 kB / 398.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.118, allocations: 0 / 398.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002105/0.1182, allocations: 157.2 kB / 398.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1183, allocations: 4 kB / 398.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1183, allocations: 4 kB / 398.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.1183, allocations: 4.5 kB / 398.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1184, allocations: 43.88 kB / 398.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.1184, allocations: 7.938 kB / 398.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.083e-05/0.1185, allocations: 15.84 kB / 398.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.1185, allocations: 8 kB / 398.6 MB, free: 14.79 MB / 302.1 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 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * 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.0001137/0.1186, allocations: 133.8 kB / 398.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.1188, allocations: 117.5 kB / 398.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.368e-05/0.1188, allocations: 17.19 kB / 398.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1189, allocations: 0 / 398.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1189, allocations: 15.89 kB / 398.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1189, allocations: 0 / 398.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.119, allocations: 189.5 kB / 399.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.119, allocations: 0 / 399.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.539e-05/0.1191, allocations: 20 kB / 399.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.1191, allocations: 4 kB / 399.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.1191, allocations: 4 kB / 399.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1191, allocations: 0 / 399.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.1191, allocations: 3.984 kB / 399.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.1193, allocations: 161.5 kB / 399.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.099e-05/0.1194, allocations: 104.8 kB / 399.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.1194, allocations: 4 kB / 399.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.32e-05/0.1195, allocations: 0 / 399.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-06/0.1195, allocations: 0 / 399.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.1195, allocations: 4 kB / 399.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.243e-05/0.1196, allocations: 116.6 kB / 399.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1196, allocations: 0 / 399.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00023/0.1198, allocations: 16 kB / 399.5 MB, free: 13.8 MB / 302.1 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 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * 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.0001202/0.1199, allocations: 103.1 kB / 399.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.1201, allocations: 87.78 kB / 399.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1201, allocations: 0 / 399.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-07/0.1202, allocations: 0 / 399.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.1205, allocations: 77.5 kB / 399.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003975/0.121, allocations: 259.7 kB / 400 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.1213, allocations: 0.7126 MB / 400.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.982e-05/0.1213, allocations: 20.64 kB / 400.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.1214, allocations: 15.38 kB / 400.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1214, allocations: 0 / 400.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of Templates: time 0.003387/0.1248, allocations: 0.8938 MB / 401.7 MB, free: 11.57 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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