Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_trunk_cpp_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_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00148/0.00148, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 226.6 MB / 244.3 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007638/0.0007639, allocations: 99.64 kB / 296.4 MB, free: 6.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002632/0.0002631, allocations: 4 kB / 356.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2555, allocations: 51.31 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.001205/0.2567, allocations: 0.7194 MB / 408.2 MB, free: 27.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003416/0.2571, allocations: 138.8 kB / 408.4 MB, free: 26.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.61e-05/0.2572, allocations: 4 kB / 408.4 MB, free: 26.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.673e-05/0.2573, allocations: 7.922 kB / 408.4 MB, free: 26.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.191e-05/0.2574, allocations: 7.938 kB / 408.4 MB, free: 26.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.2576, allocations: 39.89 kB / 408.4 MB, free: 26.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.964e-05/0.2577, allocations: 55.84 kB / 408.5 MB, free: 26.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.2578, allocations: 38.12 kB / 408.5 MB, free: 26.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.765e-05/0.2579, allocations: 9.406 kB / 408.5 MB, free: 26.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.009e-05/0.2579, allocations: 31.78 kB / 408.5 MB, free: 26.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.258, allocations: 0 / 408.5 MB, free: 26.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.258, allocations: 4 kB / 408.6 MB, free: 26.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.258, allocations: 21.86 kB / 408.6 MB, free: 26.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.2581, allocations: 37.64 kB / 408.6 MB, free: 26.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.986e-05/0.2582, allocations: 59.88 kB / 408.7 MB, free: 26.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2582, allocations: 0 / 408.7 MB, free: 26.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2582, allocations: 0 / 408.7 MB, free: 26.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.2582, allocations: 0.7812 kB / 408.7 MB, free: 26.66 MB / 298.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.0003741/0.2586, allocations: 393.6 kB / 409.1 MB, free: 26.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.2586, allocations: 12.03 kB / 409.1 MB, free: 26.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.2587, allocations: 11.81 kB / 409.1 MB, free: 26.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.2589, allocations: 201.8 kB / 409.3 MB, free: 25.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.2589, allocations: 9.203 kB / 409.3 MB, free: 25.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.2589, allocations: 8 kB / 409.3 MB, free: 25.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.2592, allocations: 207.4 kB / 409.5 MB, free: 25.74 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.2593, allocations: 3.531 kB / 409.5 MB, free: 25.74 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.2593, allocations: 7.953 kB / 409.5 MB, free: 25.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2593, allocations: 0 / 409.5 MB, free: 25.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.898e-05/0.2594, allocations: 31.98 kB / 409.5 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.2595, allocations: 193.5 kB / 409.7 MB, free: 25.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.2597, allocations: 124.4 kB / 409.8 MB, free: 25.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.572e-05/0.2598, allocations: 76.34 kB / 409.9 MB, free: 25.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.2598, allocations: 4 kB / 409.9 MB, free: 25.26 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.2598, allocations: 38.5 kB / 410 MB, free: 25.21 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.042e-06/0.2598, allocations: 0 / 410 MB, free: 25.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002361/0.26, allocations: 153.8 kB / 410.1 MB, free: 25.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.2601, allocations: 63.36 kB / 410.2 MB, free: 24.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.018e-05/0.2602, allocations: 143 kB / 410.3 MB, free: 24.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.2602, allocations: 29.7 kB / 410.3 MB, free: 24.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.526e-05/0.2602, allocations: 88.47 kB / 410.4 MB, free: 24.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.2603, allocations: 15.89 kB / 410.4 MB, free: 24.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.2603, allocations: 8 kB / 410.5 MB, free: 24.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.983e-05/0.2603, allocations: 326.8 kB / 410.8 MB, free: 24.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.667e-05/0.2604, allocations: 12 kB / 410.8 MB, free: 24.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.259e-05/0.2604, allocations: 128.3 kB / 410.9 MB, free: 24.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.888e-05/0.2605, allocations: 35.94 kB / 410.9 MB, free: 24.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2605, allocations: 0 / 410.9 MB, free: 24.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001648/0.2607, allocations: 153.4 kB / 411.1 MB, free: 23.97 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2607, allocations: 8 kB / 411.1 MB, free: 23.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2607, allocations: 4 kB / 411.1 MB, free: 23.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.2607, allocations: 4 kB / 411.1 MB, free: 23.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.635e-05/0.2608, allocations: 35.92 kB / 411.1 MB, free: 23.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.2608, allocations: 11.94 kB / 411.2 MB, free: 23.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.148e-05/0.2609, allocations: 19.84 kB / 411.2 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.2609, allocations: 8 kB / 411.2 MB, free: 23.88 MB / 298.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 () * 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 7.332e-05/0.261, allocations: 138 kB / 411.3 MB, free: 23.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.2611, allocations: 121.4 kB / 411.4 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/0.2611, allocations: 21.12 kB / 411.5 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2611, allocations: 0 / 411.5 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2612, allocations: 0 / 411.5 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2612, allocations: 11.94 kB / 411.5 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.704e-05/0.2612, allocations: 185.6 kB / 411.7 MB, free: 23.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2612, allocations: 0 / 411.7 MB, free: 23.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.312e-05/0.2613, allocations: 23.98 kB / 411.7 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2613, allocations: 8 kB / 411.7 MB, free: 23.31 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.2614, allocations: 4 kB / 411.7 MB, free: 23.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2614, allocations: 0 / 411.7 MB, free: 23.31 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2614, allocations: 0 / 411.7 MB, free: 23.31 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.2615, allocations: 160 kB / 411.8 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.2616, allocations: 93 kB / 411.9 MB, free: 23.03 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.2616, allocations: 4 kB / 411.9 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.441e-05/0.2616, allocations: 4 kB / 411.9 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-06/0.2616, allocations: 4 kB / 411.9 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.2616, allocations: 7.984 kB / 412 MB, free: 23.01 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.422e-05/0.2617, allocations: 110.6 kB / 412.1 MB, free: 22.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2617, allocations: 4 kB / 412.1 MB, free: 22.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002062/0.2619, allocations: 16 kB / 412.1 MB, free: 22.88 MB / 298.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 () * 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.0001129/0.262, allocations: 99.23 kB / 412.2 MB, free: 22.78 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.2622, allocations: 100.2 kB / 412.3 MB, free: 22.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2622, allocations: 0 / 412.3 MB, free: 22.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2622, allocations: 0 / 412.3 MB, free: 22.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.2625, allocations: 79.89 kB / 412.4 MB, free: 22.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.2629, allocations: 289.8 kB / 412.6 MB, free: 22.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.263, allocations: 0.7126 MB / 413.3 MB, free: 21.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.2631, allocations: 15.44 kB / 413.4 MB, free: 21.53 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2631, allocations: 0 / 413.4 MB, free: 21.53 MB / 298.7 MB Notification: Performance of Templates: time 0.002121/0.2652, allocations: 1.192 MB / 414.6 MB, free: 20.34 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches