Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002019/0.002019, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 51.92 kB / 373 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09615/0.0976, allocations: 53.33 MB / 426.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002338/0.09994, allocations: 0.9057 MB / 427.2 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003934/0.1003, allocations: 143.6 kB / 427.4 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.384e-05/0.1004, allocations: 3.938 kB / 427.4 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.1005, allocations: 19.86 kB / 427.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.1006, allocations: 3.938 kB / 427.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.1008, allocations: 59.81 kB / 427.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.101, allocations: 55.84 kB / 427.5 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1011, allocations: 39.95 kB / 427.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.038e-05/0.1012, allocations: 27.88 kB / 427.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.997e-05/0.1012, allocations: 43.77 kB / 427.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.1013, allocations: 4 kB / 427.6 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.862e-05/0.1013, allocations: 15.94 kB / 427.6 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.763e-05/0.1013, allocations: 23.92 kB / 427.6 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.22e-05/0.1014, allocations: 47.67 kB / 427.7 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.1016, allocations: 99.44 kB / 427.8 MB, free: 3.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1016, allocations: 0 / 427.8 MB, free: 3.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1016, allocations: 0 / 427.8 MB, free: 3.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1016, allocations: 3.938 kB / 427.8 MB, free: 3.344 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.0006108/0.1022, allocations: 414.9 kB / 428.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.1023, allocations: 8.031 kB / 428.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.622e-05/0.1023, allocations: 38.75 kB / 428.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.1023, allocations: 20.84 kB / 428.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.1026, allocations: 216.1 kB / 428.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.1026, allocations: 4.375 kB / 428.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.1027, allocations: 8.375 kB / 428.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004405/0.1031, allocations: 245.1 kB / 428.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1031, allocations: 7.938 kB / 428.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1031, allocations: 4 kB / 428.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1031, allocations: 0 / 428.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.587e-05/0.1032, allocations: 47.97 kB / 428.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.1034, allocations: 185.6 kB / 429 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.1037, allocations: 142.9 kB / 429.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.1038, allocations: 80.84 kB / 429.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.1038, allocations: 0 / 429.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.1038, allocations: 34.56 kB / 429.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.976e-06/0.1038, allocations: 3.984 kB / 429.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003337/0.1042, allocations: 188 kB / 429.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.1043, allocations: 63.41 kB / 429.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.1044, allocations: 165.2 kB / 429.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1044, allocations: 25.7 kB / 429.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.1045, allocations: 96.45 kB / 429.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.1045, allocations: 11.89 kB / 429.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.545e-05/0.1046, allocations: 41.7 kB / 429.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1047, allocations: 322.8 kB / 430.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.1048, allocations: 19.98 kB / 430.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.1049, allocations: 125.7 kB / 430.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.1051, allocations: 149.5 kB / 430.4 MB, free: 412 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.1051, allocations: 4 kB / 430.4 MB, free: 408 kB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000234/0.1053, allocations: 157.3 kB / 430.6 MB, free: 244 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1053, allocations: 15.88 kB / 430.6 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.1053, allocations: 4.5 kB / 430.6 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1053, allocations: 7.938 kB / 430.6 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1055, allocations: 39.98 kB / 430.6 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.1055, allocations: 7.938 kB / 430.6 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.486e-05/0.1056, allocations: 11.89 kB / 430.6 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1056, allocations: 8 kB / 430.7 MB, free: 148 kB / 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: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u) * 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.0001618/0.1057, allocations: 146.3 kB / 430.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.1059, allocations: 139.8 kB / 430.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.671e-05/0.106, allocations: 25.17 kB / 431 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.106, allocations: 0 / 431 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.106, allocations: 0 / 431 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.106, allocations: 0 / 431 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.1062, allocations: 193.6 kB / 431.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1062, allocations: 0 / 431.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.1063, allocations: 31.92 kB / 431.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.1063, allocations: 3.938 kB / 431.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1063, allocations: 0 / 431.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-06/0.1063, allocations: 7.984 kB / 431.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1063, allocations: 0 / 431.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.1065, allocations: 161 kB / 431.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.025e-05/0.1066, allocations: 112.9 kB / 431.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.1066, allocations: 7.938 kB / 431.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.689e-05/0.1067, allocations: 11.98 kB / 431.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-06/0.1067, allocations: 0 / 431.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-06/0.1067, allocations: 0 / 431.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.91e-05/0.1068, allocations: 115.2 kB / 431.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1068, allocations: 0 / 431.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.107, allocations: 20 kB / 431.6 MB, free: 15.08 MB / 366.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: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * 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.0006926/0.1077, allocations: 0.7746 MB / 432.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.1079, allocations: 104 kB / 432.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1079, allocations: 0 / 432.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.92e-07/0.1079, allocations: 0 / 432.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.1083, allocations: 79.92 kB / 432.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.1101, allocations: 1.728 MB / 434.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.1104, allocations: 0.7278 MB / 435 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.724e-05/0.1105, allocations: 9.094 kB / 435 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.1105, allocations: 31.42 kB / 435.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1105, allocations: 0 / 435.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03121/0.1417, allocations: 2.634 MB / 437.7 MB, free: 8.926 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.134, allocations: 15.17 kB / 437.7 MB, free: 8.914 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79641e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable assignClock1.y[2] in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[2] from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y[1],assignClock1.y[2] Variables in the result:time,previous(unitDelay1.u),previous(unitDelay2.u),assignClock1.u[1],assignClock1.u[2],assignClock1.y[1] [Calling sys.exit(0), Time elapsed: 10.865276796001126]