Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.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.001166/0.001166, allocations: 109.5 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 242.3 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 47.56 kB / 302.1 MB, free: 5.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1154, allocations: 49.44 MB / 351.5 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002982/0.1185, allocations: 1.017 MB / 352.5 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004244/0.1189, allocations: 143.5 kB / 352.7 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.119, allocations: 4 kB / 352.7 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.1192, allocations: 15.8 kB / 352.7 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.1193, allocations: 11.88 kB / 352.7 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.1196, allocations: 47.2 kB / 352.7 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.1197, allocations: 67.77 kB / 352.8 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.1199, allocations: 47.95 kB / 352.9 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.128e-05/0.1199, allocations: 23.92 kB / 352.9 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.12, allocations: 27.8 kB / 352.9 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.12, allocations: 8 kB / 352.9 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.455e-05/0.1201, allocations: 8 kB / 352.9 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.223e-05/0.1201, allocations: 27.91 kB / 352.9 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.816e-05/0.1202, allocations: 39.69 kB / 353 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.1204, allocations: 91.52 kB / 353.1 MB, free: 2.109 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1204, allocations: 4 kB / 353.1 MB, free: 2.105 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1204, allocations: 0 / 353.1 MB, free: 2.105 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1204, allocations: 0 / 353.1 MB, free: 2.105 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.0004994/0.1209, allocations: 407 kB / 353.5 MB, free: 1.656 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.121, allocations: 16.02 kB / 353.5 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.121, allocations: 16.75 kB / 353.5 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.1213, allocations: 211.5 kB / 353.7 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.1213, allocations: 12.33 kB / 353.7 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.1214, allocations: 8.375 kB / 353.7 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003931/0.1218, allocations: 223.2 kB / 353.9 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1218, allocations: 0 / 353.9 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1218, allocations: 0 / 353.9 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1218, allocations: 0 / 353.9 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.536e-05/0.1219, allocations: 39.92 kB / 354 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.1221, allocations: 185.5 kB / 354.2 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.1223, allocations: 134.9 kB / 354.3 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.1224, allocations: 72.83 kB / 354.4 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.1224, allocations: 0 / 354.4 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.1225, allocations: 42.5 kB / 354.4 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 9.92e-07/0.1225, allocations: 0 / 354.4 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002692/0.1227, allocations: 141.8 kB / 354.6 MB, free: 464 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.1228, allocations: 67.34 kB / 354.6 MB, free: 384 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.123, allocations: 142.4 kB / 354.8 MB, free: 224 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.123, allocations: 37.62 kB / 354.8 MB, free: 180 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.399e-05/0.123, allocations: 88.47 kB / 354.9 MB, free: 84 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.1231, allocations: 15.89 kB / 354.9 MB, free: 68 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.1231, allocations: 29.72 kB / 354.9 MB, free: 32 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1233, allocations: 318.8 kB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.63e-05/0.1233, allocations: 19.98 kB / 355.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.1235, allocations: 122.5 kB / 355.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.1236, allocations: 149.5 kB / 355.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.1236, allocations: 4 kB / 355.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002161/0.1239, allocations: 157.2 kB / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1239, allocations: 8 kB / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.1239, allocations: 4.5 kB / 355.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.1239, allocations: 4 kB / 355.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1241, allocations: 39.86 kB / 355.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.1241, allocations: 7.938 kB / 355.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.007e-05/0.1241, allocations: 19.84 kB / 355.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.1242, allocations: 11.98 kB / 355.8 MB, free: 15.07 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.1243, allocations: 129.7 kB / 355.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.1245, allocations: 122.3 kB / 356 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.598e-05/0.1245, allocations: 21.19 kB / 356 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1245, allocations: 0 / 356 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1245, allocations: 4 kB / 356 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.1246, allocations: 3.984 kB / 356 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.1247, allocations: 197.5 kB / 356.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1247, allocations: 0 / 356.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.218e-05/0.1248, allocations: 20 kB / 356.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1248, allocations: 0 / 356.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.1249, allocations: 11.98 kB / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1249, allocations: 4 kB / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1249, allocations: 0 / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.1251, allocations: 160.5 kB / 356.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-05/0.1252, allocations: 100.8 kB / 356.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.1252, allocations: 4 kB / 356.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.589e-05/0.1252, allocations: 4 kB / 356.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-06/0.1252, allocations: 0 / 356.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.1252, allocations: 4 kB / 356.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.068e-05/0.1253, allocations: 112.9 kB / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1253, allocations: 0 / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.1256, allocations: 16 kB / 356.7 MB, free: 14.07 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001453/0.1257, allocations: 107.2 kB / 356.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.1259, allocations: 91.78 kB / 356.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1259, allocations: 0 / 356.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.1259, allocations: 0 / 356.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.1263, allocations: 83.62 kB / 356.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.1267, allocations: 230.1 kB / 357.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.127, allocations: 0.7123 MB / 357.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.113e-05/0.1271, allocations: 8.641 kB / 357.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.1271, allocations: 15.44 kB / 357.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of SimCode: time 1.913e-06/0.1271, allocations: 0 / 357.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of Templates: time 0.003575/0.1307, allocations: 1.012 MB / 358.9 MB, free: 11.77 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches