Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001384/0.001384, allocations: 116.4 kB / 18.45 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 204 kB / 19.41 MB, free: 3.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.408/1.408, allocations: 227.7 MB / 247.9 MB, free: 10.21 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 63.89 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2326, allocations: 50.54 MB / 410.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002299/0.2349, allocations: 1.043 MB / 411.3 MB, free: 424 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003521/0.2352, allocations: 131.5 kB / 411.4 MB, free: 292 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.132e-05/0.2353, allocations: 0 / 411.4 MB, free: 292 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.011e-05/0.2354, allocations: 7.875 kB / 411.4 MB, free: 284 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.354e-05/0.2355, allocations: 19.86 kB / 411.4 MB, free: 264 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.2357, allocations: 46.89 kB / 411.5 MB, free: 220 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.2358, allocations: 63.83 kB / 411.5 MB, free: 156 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.2359, allocations: 39.91 kB / 411.6 MB, free: 116 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.277e-05/0.236, allocations: 27.86 kB / 411.6 MB, free: 88 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/0.236, allocations: 27.86 kB / 411.6 MB, free: 60 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.236, allocations: 8 kB / 411.6 MB, free: 52 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.236, allocations: 4 kB / 411.6 MB, free: 48 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.2361, allocations: 35.83 kB / 411.7 MB, free: 12 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.076e-05/0.2362, allocations: 35.88 kB / 411.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.2363, allocations: 91.38 kB / 411.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2363, allocations: 0 / 411.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2363, allocations: 0 / 411.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.2363, allocations: 0 / 411.8 MB, free: 15.89 MB / 334.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.0005106/0.2368, allocations: 422.8 kB / 412.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2369, allocations: 8.031 kB / 412.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.2369, allocations: 12.89 kB / 412.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.2372, allocations: 206.6 kB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.2372, allocations: 8.328 kB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.2372, allocations: 8.375 kB / 412.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.2376, allocations: 217.6 kB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2376, allocations: 0 / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.2376, allocations: 4 kB / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2376, allocations: 4 kB / 412.7 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.219e-05/0.2377, allocations: 31.97 kB / 412.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.2379, allocations: 197.5 kB / 412.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.2381, allocations: 119 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.2382, allocations: 68.06 kB / 413.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.2382, allocations: 4 kB / 413.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.2383, allocations: 34.5 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 2.935e-06/0.2383, allocations: 4 kB / 413.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002865/0.2386, allocations: 157.7 kB / 413.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.2386, allocations: 63.39 kB / 413.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.2388, allocations: 141.6 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2388, allocations: 29.7 kB / 413.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.2388, allocations: 92.45 kB / 413.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.2388, allocations: 4 kB / 413.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.2389, allocations: 41.66 kB / 413.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.239, allocations: 326.8 kB / 413.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-05/0.2391, allocations: 23.92 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.2392, allocations: 117.6 kB / 414.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.2394, allocations: 161.5 kB / 414.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2394, allocations: 0 / 414.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002239/0.2396, allocations: 153.7 kB / 414.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2396, allocations: 8.031 kB / 414.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.2396, allocations: 4 kB / 414.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.2396, allocations: 7.938 kB / 414.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.2397, allocations: 35.98 kB / 414.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.2397, allocations: 11.88 kB / 414.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.801e-05/0.2398, allocations: 7.953 kB / 414.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.2398, allocations: 12 kB / 414.5 MB, free: 12.86 MB / 334.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.0001168/0.2399, allocations: 141.6 kB / 414.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.2401, allocations: 117.6 kB / 414.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.296e-05/0.2401, allocations: 17.19 kB / 414.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2401, allocations: 4 kB / 414.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.2402, allocations: 0 / 414.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.2402, allocations: 3.984 kB / 414.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.2403, allocations: 189.5 kB / 414.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2403, allocations: 7.984 kB / 414.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.2404, allocations: 27.94 kB / 415 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.2404, allocations: 0 / 415 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.2404, allocations: 0 / 415 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2404, allocations: 0 / 415 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2404, allocations: 4 kB / 415 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.2406, allocations: 159.5 kB / 415.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.352e-05/0.2407, allocations: 101 kB / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.2407, allocations: 4 kB / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.734e-05/0.2408, allocations: 4 kB / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-06/0.2408, allocations: 0 / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.2408, allocations: 8 kB / 415.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.77e-05/0.2409, allocations: 107.2 kB / 415.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2409, allocations: 4 kB / 415.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002325/0.2411, allocations: 20 kB / 415.4 MB, free: 11.86 MB / 334.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.0001104/0.2412, allocations: 103.2 kB / 415.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.2414, allocations: 92.7 kB / 415.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.2414, allocations: 3.938 kB / 415.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.72e-07/0.2414, allocations: 0 / 415.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.2418, allocations: 78.91 kB / 415.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.2421, allocations: 225.4 kB / 415.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.2425, allocations: 0.7239 MB / 416.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.266e-05/0.2425, allocations: 12.64 kB / 416.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.2425, allocations: 15.44 kB / 416.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2425, allocations: 0 / 416.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of Templates: time 0.003613/0.2462, allocations: 1.025 MB / 417.6 MB, free: 9.551 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches