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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008648/0.0008648, allocations: 76.08 kB / 20.67 MB, free: 3.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009664/0.0009664, allocations: 157.1 kB / 23.94 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9128/0.9128, allocations: 173.3 MB / 200.4 MB, free: 9.453 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 318.5 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.436e-05, allocations: 2.281 kB / 318.5 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.001611/0.001625, allocations: 1.013 MB / 319.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003948/0.00202, allocations: 127.5 kB / 319.6 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.002138, allocations: 7.938 kB / 319.6 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.002265, allocations: 7.875 kB / 319.6 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.002397, allocations: 19.8 kB / 319.6 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.002703, allocations: 47.83 kB / 319.7 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.002852, allocations: 67.77 kB / 319.7 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.00301, allocations: 31.95 kB / 319.8 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.278e-05/0.003082, allocations: 39.89 kB / 319.8 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.904e-05/0.003142, allocations: 23.92 kB / 319.8 MB, free: 4.984 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.003173, allocations: 4 kB / 319.8 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.489e-05/0.003188, allocations: 8 kB / 319.8 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.161e-05/0.003269, allocations: 23.91 kB / 319.9 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.82e-05/0.003318, allocations: 27.86 kB / 319.9 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.003492, allocations: 83.67 kB / 320 MB, free: 4.84 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.003495, allocations: 3.938 kB / 320 MB, free: 4.836 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.003497, allocations: 0 / 320 MB, free: 4.836 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.003504, allocations: 4 kB / 320 MB, free: 4.832 MB / 282.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.0005587/0.004063, allocations: 321.9 kB / 320.3 MB, free: 4.484 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.004119, allocations: 20.86 kB / 320.3 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.252e-05/0.004161, allocations: 34.75 kB / 320.4 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.004195, allocations: 20.84 kB / 320.4 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.004404, allocations: 145.4 kB / 320.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.004418, allocations: 8.375 kB / 320.5 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.004432, allocations: 8.375 kB / 320.5 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.004785, allocations: 223.5 kB / 320.7 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.004792, allocations: 192 / 320.7 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.004804, allocations: 11.94 kB / 320.8 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.004809, allocations: 0 / 320.8 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.456e-05/0.004864, allocations: 31.98 kB / 320.8 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.004981, allocations: 148.7 kB / 320.9 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.005143, allocations: 118.6 kB / 321.1 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.463e-05/0.005217, allocations: 77.3 kB / 321.1 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.005229, allocations: 4 kB / 321.1 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.005251, allocations: 38.56 kB / 321.2 MB, free: 3.508 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.482e-06/0.005253, allocations: 0 / 321.2 MB, free: 3.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002264/0.005479, allocations: 153.1 kB / 321.3 MB, free: 3.355 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/0.005544, allocations: 71.3 kB / 321.4 MB, free: 3.273 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.468e-05/0.005639, allocations: 146.4 kB / 321.5 MB, free: 3.113 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.00565, allocations: 25.7 kB / 321.6 MB, free: 3.082 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/0.005692, allocations: 92.47 kB / 321.6 MB, free: 2.984 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.005708, allocations: 7.922 kB / 321.7 MB, free: 2.977 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.005733, allocations: 13.72 kB / 321.7 MB, free: 2.957 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.005834, allocations: 318.8 kB / 322 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.005851, allocations: 15.98 kB / 322 MB, free: 2.621 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.131e-05/0.005872, allocations: 13.72 kB / 322 MB, free: 2.602 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.523e-05/0.005907, allocations: 25.66 kB / 322 MB, free: 2.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.00591, allocations: 0 / 322 MB, free: 2.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.281e-05/0.005973, allocations: 61.58 kB / 322.1 MB, free: 2.504 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.005988, allocations: 4 kB / 322.1 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.005994, allocations: 0 / 322.1 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.006008, allocations: 0 / 322.1 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.612e-05/0.006065, allocations: 16 kB / 322.1 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.006071, allocations: 0 / 322.1 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.29e-05/0.006084, allocations: 0 / 322.1 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.006091, allocations: 4 kB / 322.1 MB, free: 2.48 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 8.681e-05/0.006178, allocations: 125.8 kB / 322.2 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.006279, allocations: 117.5 kB / 322.4 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.006317, allocations: 21.11 kB / 322.4 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.00632, allocations: 4.094 kB / 322.4 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.006326, allocations: 3.984 kB / 322.4 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.00633, allocations: 0 / 322.4 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.514e-05/0.006415, allocations: 148.7 kB / 322.5 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.006416, allocations: 4 kB / 322.5 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.924e-05/0.006485, allocations: 31.92 kB / 322.6 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.006489, allocations: 3.938 kB / 322.6 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.006497, allocations: 0 / 322.6 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.006498, allocations: 0 / 322.6 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.006498, allocations: 3.938 kB / 322.6 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.006626, allocations: 149 kB / 322.7 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.006667, allocations: 31.83 kB / 322.7 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.006682, allocations: 8 kB / 322.8 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.181e-05/0.006694, allocations: 3.938 kB / 322.8 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-06/0.006696, allocations: 4 kB / 322.8 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.006702, allocations: 8 kB / 322.8 MB, free: 1.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.07e-05/0.006753, allocations: 114.2 kB / 322.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006753, allocations: 0 / 322.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001204/0.006873, allocations: 12 kB / 322.9 MB, free: 1.629 MB / 282.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 (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.0003833/0.007257, allocations: 0.7366 MB / 323.6 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.378e-05/0.00735, allocations: 47.91 kB / 323.7 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.007352, allocations: 0 / 323.7 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.007352, allocations: 0 / 323.7 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.007651, allocations: 80.06 kB / 323.8 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008049/0.008456, allocations: 1.33 MB / 325.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.342e-05/0.008519, allocations: 108.7 kB / 325.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.298e-05/0.008532, allocations: 0.5 kB / 325.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.008572, allocations: 28.44 kB / 325.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.008573, allocations: 4 kB / 325.2 MB, free: 15.16 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/0.02292, allocations: 3.017 MB / 328.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.83/6.853, allocations: 4.062 kB / 328.2 MB, free: 12.27 MB / 298.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.553167174570262]