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.001715/0.001715, allocations: 124.7 kB / 17.79 MB, free: 5.246 MB / 14.72 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.002048/0.002048, allocations: 186.9 kB / 20.73 MB, free: 2.316 MB / 14.72 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 1.368/1.368, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001447/0.001447, allocations: 51.92 kB / 365.7 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09668/0.09813, allocations: 52.14 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002262/0.1004, allocations: 1.041 MB / 418.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003537/0.1007, allocations: 135.5 kB / 419 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.1008, allocations: 8 kB / 419 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.004e-05/0.1009, allocations: 11.88 kB / 419 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.217e-05/0.101, allocations: 15.86 kB / 419 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.1012, allocations: 43.89 kB / 419 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.1013, allocations: 67.77 kB / 419.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1015, allocations: 31.97 kB / 419.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.765e-05/0.1015, allocations: 27.86 kB / 419.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.418e-05/0.1015, allocations: 31.8 kB / 419.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.1016, allocations: 8 kB / 419.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.37e-05/0.1016, allocations: 8 kB / 419.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.228e-05/0.1016, allocations: 23.92 kB / 419.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.342e-05/0.1017, allocations: 43.67 kB / 419.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.1018, allocations: 91.45 kB / 419.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1018, allocations: 0 / 419.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1018, allocations: 0 / 419.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1019, allocations: 0 / 419.4 MB, free: 11.02 MB / 350.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.0004738/0.1023, allocations: 406.9 kB / 419.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1024, allocations: 16.03 kB / 419.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.582e-05/0.1024, allocations: 38.73 kB / 419.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.1024, allocations: 16.84 kB / 419.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.1027, allocations: 208.7 kB / 420 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1027, allocations: 8.375 kB / 420 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.1027, allocations: 8.375 kB / 420.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.1031, allocations: 217.1 kB / 420.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1031, allocations: 0 / 420.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1031, allocations: 0 / 420.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1031, allocations: 11.88 kB / 420.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.027e-05/0.1032, allocations: 39.92 kB / 420.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.1033, allocations: 181.6 kB / 420.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.1035, allocations: 122.6 kB / 420.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.1037, allocations: 75.81 kB / 420.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.1037, allocations: 3.938 kB / 420.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.1037, allocations: 34.56 kB / 420.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.062e-06/0.1037, allocations: 0 / 420.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002691/0.104, allocations: 149.6 kB / 420.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.104, allocations: 63.34 kB / 420.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.1042, allocations: 152.4 kB / 421.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1042, allocations: 25.7 kB / 421.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.1042, allocations: 92.47 kB / 421.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.1042, allocations: 15.94 kB / 421.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.1043, allocations: 25.72 kB / 421.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1044, allocations: 322.8 kB / 421.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.685e-05/0.1044, allocations: 27.98 kB / 421.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1046, allocations: 109.7 kB / 421.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.1047, allocations: 153.5 kB / 421.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1047, allocations: 3.938 kB / 421.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002117/0.1049, allocations: 161.2 kB / 422 MB, free: 8.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1049, allocations: 12.48 kB / 422 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.1049, allocations: 8 kB / 422 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.105, allocations: 4 kB / 422 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1051, allocations: 31.92 kB / 422.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1051, allocations: 4 kB / 422.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.636e-05/0.1051, allocations: 12 kB / 422.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1051, allocations: 8 kB / 422.1 MB, free: 7.969 MB / 350.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.0001057/0.1052, allocations: 133.7 kB / 422.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.1054, allocations: 131.3 kB / 422.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/0.1054, allocations: 17.19 kB / 422.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1054, allocations: 7.984 kB / 422.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1055, allocations: 0 / 422.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1055, allocations: 3.938 kB / 422.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.1056, allocations: 193.5 kB / 422.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1056, allocations: 4 kB / 422.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.857e-05/0.1057, allocations: 23.98 kB / 422.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1057, allocations: 0 / 422.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.1057, allocations: 4 kB / 422.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1057, allocations: 7.938 kB / 422.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1057, allocations: 0 / 422.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.1059, allocations: 152.9 kB / 422.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.321e-05/0.106, allocations: 104.9 kB / 422.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.106, allocations: 7.984 kB / 422.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.519e-05/0.106, allocations: 4 kB / 422.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-06/0.106, allocations: 0 / 422.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.106, allocations: 4 kB / 422.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.884e-05/0.1061, allocations: 116.8 kB / 423 MB, free: 6.969 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1061, allocations: 0 / 423 MB, free: 6.969 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.1063, allocations: 20 kB / 423 MB, free: 6.949 MB / 350.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.0005735/0.1069, allocations: 0.7328 MB / 423.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.1071, allocations: 92.78 kB / 423.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1071, allocations: 0 / 423.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.1071, allocations: 0 / 423.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.1074, allocations: 82.14 kB / 423.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.1089, allocations: 1.677 MB / 425.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.1092, allocations: 0.7162 MB / 426.3 MB, free: 3.438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.733e-05/0.1092, allocations: 8.656 kB / 426.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.1093, allocations: 27.42 kB / 426.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1093, allocations: 4 kB / 426.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08924/0.1985, allocations: 2.489 MB / 428.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.08/8.278, allocations: 4.484 kB / 428.8 MB, free: 1.047 MB / 350.1 MB " [Timeout remaining time 652] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.935957986861467]