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.00128/0.00128, allocations: 116.6 kB / 18.49 MB, free: 4.566 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.001293/0.001293, allocations: 189 kB / 21.43 MB, free: 1.641 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.369/1.369, allocations: 225.6 MB / 249.8 MB, free: 3.633 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 55.92 kB / 366.4 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09712/0.09856, allocations: 52.14 MB / 418.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002492/0.1011, allocations: 1.047 MB / 419.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003803/0.1014, allocations: 135.5 kB / 419.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.37e-05/0.1015, allocations: 0 / 419.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.1016, allocations: 19.86 kB / 419.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.1017, allocations: 7.875 kB / 419.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.102, allocations: 47.88 kB / 419.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.1021, allocations: 67.78 kB / 419.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.1023, allocations: 35.97 kB / 419.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.194e-05/0.1023, allocations: 27.86 kB / 419.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.33e-05/0.1024, allocations: 35.78 kB / 419.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.1024, allocations: 4 kB / 419.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.511e-05/0.1024, allocations: 8 kB / 419.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.206e-05/0.1025, allocations: 23.92 kB / 419.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.102e-05/0.1025, allocations: 43.67 kB / 420 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.1027, allocations: 91.45 kB / 420.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1027, allocations: 0 / 420.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1027, allocations: 0 / 420.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1027, allocations: 4 kB / 420.1 MB, free: 11.04 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.0005441/0.1033, allocations: 413.3 kB / 420.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1033, allocations: 12.03 kB / 420.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.567e-05/0.1033, allocations: 192 / 420.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.1034, allocations: 42.73 kB / 420.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.1034, allocations: 16.84 kB / 420.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.1037, allocations: 200.7 kB / 420.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1037, allocations: 12.38 kB / 420.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.1037, allocations: 16.12 kB / 420.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.1041, allocations: 211 kB / 421 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1041, allocations: 0 / 421 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1041, allocations: 3.938 kB / 421 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1041, allocations: 4 kB / 421 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.177e-05/0.1042, allocations: 35.98 kB / 421 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.1043, allocations: 189.5 kB / 421.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.1045, allocations: 122.7 kB / 421.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.1046, allocations: 81.2 kB / 421.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.1047, allocations: 4 kB / 421.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.1047, allocations: 30.56 kB / 421.4 MB, free: 9.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.1047, allocations: 0 / 421.4 MB, free: 9.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002704/0.105, allocations: 144.1 kB / 421.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.105, allocations: 67.34 kB / 421.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.1052, allocations: 146.4 kB / 421.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1052, allocations: 29.7 kB / 421.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.1052, allocations: 92.47 kB / 421.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.1052, allocations: 11.94 kB / 421.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/0.1053, allocations: 33.66 kB / 422 MB, free: 8.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1054, allocations: 322.8 kB / 422.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.772e-05/0.1055, allocations: 19.98 kB / 422.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1056, allocations: 113.7 kB / 422.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.1057, allocations: 157.4 kB / 422.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1057, allocations: 0 / 422.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002218/0.106, allocations: 157.3 kB / 422.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.106, allocations: 8 kB / 422.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.106, allocations: 4 kB / 422.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.106, allocations: 4 kB / 422.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1061, allocations: 35.92 kB / 422.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1061, allocations: 4 kB / 422.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.618e-05/0.1062, allocations: 12.45 kB / 422.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.1062, allocations: 12 kB / 422.8 MB, free: 7.984 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.000111/0.1063, allocations: 137.7 kB / 422.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.1065, allocations: 125.5 kB / 423 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.407e-05/0.1065, allocations: 17.19 kB / 423.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1065, allocations: 7.938 kB / 423.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1065, allocations: 3.938 kB / 423.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1065, allocations: 0 / 423.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.1067, allocations: 193.5 kB / 423.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1067, allocations: 0 / 423.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.086e-05/0.1068, allocations: 27.94 kB / 423.3 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1068, allocations: 4 kB / 423.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1068, allocations: 7.984 kB / 423.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1068, allocations: 0 / 423.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1068, allocations: 0 / 423.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.107, allocations: 156 kB / 423.5 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-05/0.107, allocations: 104.9 kB / 423.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.1071, allocations: 0 / 423.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.609e-05/0.1071, allocations: 8 kB / 423.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.539e-06/0.1071, allocations: 4 kB / 423.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.1071, allocations: 0 / 423.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.909e-05/0.1072, allocations: 117.1 kB / 423.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1072, allocations: 0 / 423.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.1074, allocations: 16 kB / 423.7 MB, free: 6.973 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.0005798/0.108, allocations: 0.7416 MB / 424.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.1081, allocations: 87.78 kB / 424.5 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1081, allocations: 0 / 424.5 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.1081, allocations: 0 / 424.5 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.1086, allocations: 82.72 kB / 424.6 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.1103, allocations: 1.673 MB / 426.3 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.1106, allocations: 0.7162 MB / 427 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.922e-05/0.1106, allocations: 8.641 kB / 427 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.063e-05/0.1107, allocations: 27.42 kB / 427 MB, free: 3.422 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1107, allocations: 4 kB / 427 MB, free: 3.418 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.1292, allocations: 2.525 MB / 429.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/8.001, allocations: 10.34 kB / 429.6 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/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] "" Variables in the reference:time,assignClock1.y[1],assignClock1.y[2] Variables in the result:add.k1,add.k2,add.u1,add.u2,add.y,add1.k1,add1.k2,add1.u1,add1.u2,add1.y,assignClock1.n,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const.k,const.y,const1.k,const1.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(unitDelay1.u),previous(unitDelay2.u),time,unitDelay1.u,unitDelay1.y,unitDelay1.y_start,unitDelay2.u,unitDelay2.y,unitDelay2.y_start [Calling sys.exit(0), Time elapsed: 10.398684117011726]