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.001718/0.001718, allocations: 108 kB / 17.06 MB, free: 6.012 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.001793/0.001793, allocations: 192 kB / 18 MB, free: 5.098 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.592/1.592, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 51.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4147, allocations: 49.42 MB / 400.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.003215/0.418, allocations: 1.043 MB / 401.8 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004741/0.4185, allocations: 139.5 kB / 401.9 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.4186, allocations: 4 kB / 401.9 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.4188, allocations: 7.875 kB / 401.9 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.419, allocations: 11.86 kB / 401.9 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.4193, allocations: 47.89 kB / 402 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.4194, allocations: 67.77 kB / 402 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.4196, allocations: 39.98 kB / 402.1 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.051e-05/0.4197, allocations: 23.92 kB / 402.1 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/0.4198, allocations: 31.78 kB / 402.1 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.4198, allocations: 8 kB / 402.1 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.4198, allocations: 4 kB / 402.1 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.307e-05/0.4199, allocations: 27.92 kB / 402.2 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.831e-05/0.42, allocations: 43.67 kB / 402.2 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.4202, allocations: 87.58 kB / 402.3 MB, free: 7.312 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4202, allocations: 0 / 402.3 MB, free: 7.312 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4202, allocations: 4 kB / 402.3 MB, free: 7.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.4202, allocations: 0 / 402.3 MB, free: 7.309 MB / 318.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.0006258/0.4209, allocations: 404.2 kB / 402.7 MB, free: 6.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/0.4209, allocations: 8.031 kB / 402.7 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.199e-05/0.421, allocations: 16.75 kB / 402.7 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.4214, allocations: 218 kB / 402.9 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.4215, allocations: 8.375 kB / 402.9 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.4215, allocations: 12.38 kB / 403 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.422, allocations: 203.3 kB / 403.2 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.422, allocations: 4 kB / 403.2 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.422, allocations: 0 / 403.2 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.422, allocations: 3.984 kB / 403.2 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.752e-05/0.4221, allocations: 39.97 kB / 403.2 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.4223, allocations: 189.5 kB / 403.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.4226, allocations: 131 kB / 403.5 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.4227, allocations: 88.56 kB / 403.6 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.4228, allocations: 0 / 403.6 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.4228, allocations: 38.5 kB / 403.6 MB, free: 5.812 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.4228, allocations: 0 / 403.6 MB, free: 5.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003629/0.4232, allocations: 145.7 kB / 403.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/0.4233, allocations: 63.39 kB / 403.8 MB, free: 5.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.4235, allocations: 148.7 kB / 404 MB, free: 5.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.4235, allocations: 25.7 kB / 404 MB, free: 5.398 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.4236, allocations: 96.45 kB / 404.1 MB, free: 5.297 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.4236, allocations: 15.84 kB / 404.1 MB, free: 5.281 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.721e-05/0.4237, allocations: 29.7 kB / 404.1 MB, free: 5.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4238, allocations: 322.8 kB / 404.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.4239, allocations: 23.98 kB / 404.5 MB, free: 4.898 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.424, allocations: 117.7 kB / 404.6 MB, free: 4.734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.4242, allocations: 153.5 kB / 404.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4242, allocations: 0 / 404.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002341/0.4244, allocations: 161.2 kB / 404.9 MB, free: 4.371 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4245, allocations: 10.5 kB / 404.9 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.4245, allocations: 4 kB / 404.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.4245, allocations: 4.5 kB / 404.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.4246, allocations: 35.86 kB / 405 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.4246, allocations: 8 kB / 405 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.791e-05/0.4247, allocations: 15.91 kB / 405 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.4247, allocations: 8 kB / 405 MB, free: 4.289 MB / 318.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.0001162/0.4249, allocations: 141.6 kB / 405.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.425, allocations: 121.5 kB / 405.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.82e-05/0.4251, allocations: 21.12 kB / 405.3 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4251, allocations: 0 / 405.3 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4251, allocations: 0 / 405.3 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4251, allocations: 4 kB / 405.3 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.4253, allocations: 193.5 kB / 405.5 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4253, allocations: 0 / 405.5 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.557e-05/0.4254, allocations: 23.98 kB / 405.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4254, allocations: 0 / 405.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.4254, allocations: 4 kB / 405.5 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4254, allocations: 4 kB / 405.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4254, allocations: 0 / 405.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.4257, allocations: 163.7 kB / 405.7 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.974e-05/0.4257, allocations: 97 kB / 405.8 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.4258, allocations: 4 kB / 405.8 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.726e-05/0.4258, allocations: 4 kB / 405.8 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-06/0.4258, allocations: 0 / 405.8 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.4258, allocations: 7.938 kB / 405.8 MB, free: 3.414 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002526/0.4261, allocations: 118.2 kB / 405.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4261, allocations: 0 / 405.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.4263, allocations: 16 kB / 405.9 MB, free: 3.285 MB / 318.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.0001266/0.4265, allocations: 99.25 kB / 406 MB, free: 3.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.4267, allocations: 95.72 kB / 406.1 MB, free: 3.086 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4267, allocations: 0 / 406.1 MB, free: 3.086 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.62e-07/0.4267, allocations: 0 / 406.1 MB, free: 3.086 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.4271, allocations: 89.33 kB / 406.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.4276, allocations: 234.9 kB / 406.4 MB, free: 2.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.4279, allocations: 0.7201 MB / 407.1 MB, free: 2.004 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.783e-05/0.428, allocations: 8.641 kB / 407.1 MB, free: 1.996 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.428, allocations: 15.44 kB / 407.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of SimCode: time 1.933e-06/0.428, allocations: 0 / 407.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of Templates: time 0.004295/0.4323, allocations: 1.03 MB / 408.2 MB, free: 0.9531 MB / 318.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/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