Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008009/0.0008009, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008442/0.0008442, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9306/0.9306, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.786e-06/2.786e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.937e-05, allocations: 3.125 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001653/0.001673, allocations: 0.9113 MB / 325.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003879/0.00206, allocations: 143.5 kB / 325.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.647e-05/0.002157, allocations: 3.938 kB / 325.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.002279, allocations: 15.8 kB / 325.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.002436, allocations: 15.92 kB / 325.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.002663, allocations: 47.88 kB / 325.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.002788, allocations: 59.78 kB / 325.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.002932, allocations: 31.97 kB / 325.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.608e-05/0.002988, allocations: 35.89 kB / 325.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.358e-05/0.003082, allocations: 35.89 kB / 325.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.003112, allocations: 8 kB / 325.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.003124, allocations: 8 kB / 325.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.003182, allocations: 27.86 kB / 325.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.003222, allocations: 27.91 kB / 325.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.003364, allocations: 91.62 kB / 326 MB, free: 14.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.003366, allocations: 0 / 326 MB, free: 14.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.003369, allocations: 4 kB / 326 MB, free: 14.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.003374, allocations: 0 / 326 MB, free: 14.45 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.000494/0.003868, allocations: 333.8 kB / 326.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.003923, allocations: 11.98 kB / 326.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.066e-05/0.003973, allocations: 50.67 kB / 326.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.004011, allocations: 16.84 kB / 326.4 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.004241, allocations: 149.6 kB / 326.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.004256, allocations: 8.375 kB / 326.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.004271, allocations: 12.31 kB / 326.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.004659, allocations: 250.2 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.00467, allocations: 4.188 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.004683, allocations: 384 / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.004691, allocations: 4.125 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.23e-05/0.004764, allocations: 55.89 kB / 326.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.004914, allocations: 152.7 kB / 327 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.00511, allocations: 141.8 kB / 327.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.255e-05/0.005193, allocations: 81.09 kB / 327.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.005203, allocations: 0 / 327.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.005228, allocations: 38.5 kB / 327.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.00523, allocations: 3.938 kB / 327.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006036/0.005833, allocations: 173.6 kB / 327.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/0.005906, allocations: 67.34 kB / 327.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.006025, allocations: 166.8 kB / 327.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.006037, allocations: 25.7 kB / 327.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.00609, allocations: 96.45 kB / 327.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.006111, allocations: 7.953 kB / 327.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.006146, allocations: 25.7 kB / 327.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.006242, allocations: 314.8 kB / 328.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.006256, allocations: 8 kB / 328.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/0.00628, allocations: 17.7 kB / 328.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.178e-05/0.006311, allocations: 29.66 kB / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.006315, allocations: 7.938 kB / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.114e-05/0.006376, allocations: 61.58 kB / 328.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.00639, allocations: 4 kB / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.006395, allocations: 96 / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.006409, allocations: 7.984 kB / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.094e-05/0.00646, allocations: 7.938 kB / 328.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.006466, allocations: 0 / 328.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.501e-05/0.006481, allocations: 4 kB / 328.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.006487, allocations: 4.062 kB / 328.3 MB, free: 11.94 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 7.768e-05/0.006565, allocations: 125.8 kB / 328.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.006679, allocations: 144.1 kB / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.006717, allocations: 17.12 kB / 328.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.00672, allocations: 4 kB / 328.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.006728, allocations: 3.938 kB / 328.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.006734, allocations: 3.984 kB / 328.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.257e-05/0.006817, allocations: 152.7 kB / 328.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.006817, allocations: 0 / 328.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.387e-05/0.006901, allocations: 27.98 kB / 328.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.006903, allocations: 4 kB / 328.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.006911, allocations: 4 kB / 328.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.006912, allocations: 0 / 328.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.006914, allocations: 3.938 kB / 328.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.007053, allocations: 176.9 kB / 328.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.007097, allocations: 27.83 kB / 328.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.007112, allocations: 4 kB / 328.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.577e-05/0.007128, allocations: 4 kB / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-06/0.007132, allocations: 3.938 kB / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.007137, allocations: 4 kB / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.623e-05/0.007194, allocations: 123.2 kB / 329.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007194, allocations: 4 kB / 329.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001258/0.007319, allocations: 8 kB / 329.1 MB, free: 11.04 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.0004696/0.007789, allocations: 0.7757 MB / 329.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.007896, allocations: 55.22 kB / 329.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.007898, allocations: 0 / 329.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.007899, allocations: 3.984 kB / 329.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.008203, allocations: 96.03 kB / 330 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008624/0.009066, allocations: 1.37 MB / 331.4 MB, free: 8.629 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.342e-05/0.009129, allocations: 105.4 kB / 331.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.869e-05/0.009148, allocations: 8.5 kB / 331.5 MB, free: 8.496 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.009195, allocations: 32.48 kB / 331.5 MB, free: 8.465 MB / 298.7 MB Notification: Performance of SimCode: time 6.22e-07/0.009195, allocations: 0 / 331.5 MB, free: 8.465 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.02561, allocations: 3.22 MB / 334.8 MB, free: 5.367 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.72/6.745, allocations: 23.8 kB / 334.8 MB, free: 5.344 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[2] from file Modelica_trunk_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.538315759971738]