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.0008763/0.0008763, allocations: 83.69 kB / 20.67 MB, free: 3.742 MB / 18.57 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.0009492/0.0009492, allocations: 170 kB / 23.95 MB, free: 476 kB / 18.57 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 0.8895/0.8895, allocations: 177.1 MB / 204.2 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.964e-06/1.964e-06, allocations: 0 / 324.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.377e-05, allocations: 4.531 kB / 324.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002145/0.002169, allocations: 0.9104 MB / 325.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003741/0.002543, allocations: 155.4 kB / 325.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.386e-05/0.002637, allocations: 0 / 325.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.002749, allocations: 15.86 kB / 325.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.002893, allocations: 19.8 kB / 325.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.003092, allocations: 39.95 kB / 325.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000123/0.003215, allocations: 63.78 kB / 325.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.003335, allocations: 27.95 kB / 325.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.918e-05/0.003385, allocations: 39.91 kB / 325.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.404e-05/0.003469, allocations: 31.89 kB / 325.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.003494, allocations: 8 kB / 325.9 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.272e-05/0.003506, allocations: 8 kB / 325.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.796e-05/0.003594, allocations: 23.92 kB / 325.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.003632, allocations: 35.78 kB / 325.9 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.003773, allocations: 95.62 kB / 326 MB, free: 14.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003775, allocations: 0 / 326 MB, free: 14.51 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.003777, allocations: 0 / 326 MB, free: 14.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.003781, allocations: 0 / 326 MB, free: 14.51 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.000449/0.00423, allocations: 333.8 kB / 326.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.004277, allocations: 12.03 kB / 326.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.798e-05/0.004325, allocations: 38.73 kB / 326.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.004364, allocations: 20.84 kB / 326.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.004592, allocations: 160 kB / 326.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.004602, allocations: 384 / 326.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.004616, allocations: 12.38 kB / 326.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004763/0.005092, allocations: 251.7 kB / 326.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.005102, allocations: 4.188 kB / 326.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.005114, allocations: 4.375 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.005122, allocations: 8.125 kB / 326.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.893e-05/0.005191, allocations: 47.91 kB / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.005349, allocations: 152.7 kB / 327 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.005569, allocations: 138.8 kB / 327.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.268e-05/0.005662, allocations: 79.86 kB / 327.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.005676, allocations: 4 kB / 327.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.00571, allocations: 46.42 kB / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.005711, allocations: 0 / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002784/0.005989, allocations: 173.5 kB / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.006053, allocations: 67.34 kB / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.006169, allocations: 167.1 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.006183, allocations: 29.7 kB / 327.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.006231, allocations: 88.47 kB / 327.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.00625, allocations: 7.953 kB / 327.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.006283, allocations: 25.7 kB / 327.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.006382, allocations: 314.8 kB / 328.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.0064, allocations: 7.984 kB / 328.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.839e-05/0.006429, allocations: 21.7 kB / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.592e-05/0.006465, allocations: 29.66 kB / 328.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.006467, allocations: 0 / 328.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.2e-05/0.006539, allocations: 53.64 kB / 328.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.006557, allocations: 8 kB / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.006564, allocations: 0 / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.00658, allocations: 0 / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.298e-05/0.006653, allocations: 11.88 kB / 328.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.006663, allocations: 4 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.00668, allocations: 8.062 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.006689, allocations: 0 / 328.3 MB, free: 12.02 MB / 298.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: 4 ($CLKPRE.unitDelay2.u,unitDelay2.u,$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 (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 0.0001061/0.006795, allocations: 125.8 kB / 328.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/0.007058, allocations: 137.5 kB / 328.6 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.007092, allocations: 21.12 kB / 328.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.007096, allocations: 3.984 kB / 328.6 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.007102, allocations: 7.875 kB / 328.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.007107, allocations: 0 / 328.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.057e-05/0.007197, allocations: 152.7 kB / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.007199, allocations: 0 / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.851e-05/0.007277, allocations: 31.92 kB / 328.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.007279, allocations: 4 kB / 328.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.007287, allocations: 0 / 328.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.00729, allocations: 4 kB / 328.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.007292, allocations: 3.938 kB / 328.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.007431, allocations: 171.9 kB / 329 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.007475, allocations: 31.83 kB / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.00749, allocations: 8 kB / 329 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.424e-05/0.007505, allocations: 3.938 kB / 329 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-06/0.00751, allocations: 7.938 kB / 329 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.007515, allocations: 4 kB / 329 MB, free: 11.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.37e-05/0.007579, allocations: 126.3 kB / 329.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007579, allocations: 0 / 329.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000186/0.007765, allocations: 12 kB / 329.1 MB, free: 11.11 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: 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.0005517/0.008317, allocations: 0.7685 MB / 329.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.00843, allocations: 55.97 kB / 330 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.008432, allocations: 0 / 330 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.008432, allocations: 0 / 330 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.008742, allocations: 98.84 kB / 330.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008993/0.009641, allocations: 1.38 MB / 331.4 MB, free: 8.695 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.361e-05/0.009705, allocations: 105.4 kB / 331.5 MB, free: 8.574 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.007e-05/0.009725, allocations: 4.438 kB / 331.6 MB, free: 8.566 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.009771, allocations: 32.48 kB / 331.6 MB, free: 8.535 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009772, allocations: 0 / 331.6 MB, free: 8.535 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.02603, allocations: 3.23 MB / 334.8 MB, free: 5.449 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/7.172, allocations: 11.81 kB / 334.8 MB, free: 5.438 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/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: 8.9970250595361]