Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.0008404/0.0008404, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.000891/0.000891, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 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.9038/0.9038, allocations: 177.1 MB / 204.3 MB, free: 5.75 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.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 324.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.244e-05, allocations: 2.281 kB / 324.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.001842/0.001864, allocations: 1.021 MB / 325.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003059/0.00217, allocations: 131.5 kB / 325.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.02e-05/0.00225, allocations: 0 / 325.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.559e-05/0.002346, allocations: 11.86 kB / 325.8 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.002453, allocations: 23.8 kB / 325.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.002728, allocations: 47.88 kB / 325.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.002846, allocations: 63.78 kB / 325.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.002975, allocations: 23.98 kB / 325.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.115e-05/0.003026, allocations: 43.89 kB / 325.9 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.914e-05/0.003075, allocations: 23.91 kB / 326 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.003101, allocations: 4 kB / 326 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/0.003113, allocations: 8 kB / 326 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.475e-05/0.003188, allocations: 23.91 kB / 326 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.791e-05/0.003236, allocations: 27.86 kB / 326 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.00339, allocations: 83.62 kB / 326.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.003393, allocations: 0 / 326.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.003394, allocations: 4 kB / 326.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.003399, allocations: 0 / 326.1 MB, free: 14.26 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.0004024/0.003802, allocations: 329.8 kB / 326.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.003837, allocations: 16.02 kB / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.003871, allocations: 42.75 kB / 326.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.003896, allocations: 8.891 kB / 326.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.004073, allocations: 150 kB / 326.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.004085, allocations: 12.27 kB / 326.7 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.004096, allocations: 8.375 kB / 326.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.0044, allocations: 219.8 kB / 326.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.004407, allocations: 192 / 326.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.004417, allocations: 11.94 kB / 326.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.004422, allocations: 0 / 326.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.689e-05/0.004479, allocations: 42.44 kB / 326.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001195/0.004598, allocations: 148.7 kB / 327.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.004762, allocations: 122.7 kB / 327.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/0.004845, allocations: 65.33 kB / 327.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.004854, allocations: 8 kB / 327.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.004873, allocations: 34.56 kB / 327.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 9.72e-07/0.004874, allocations: 0 / 327.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002353/0.005109, allocations: 153.5 kB / 327.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.005157, allocations: 70.09 kB / 327.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.754e-05/0.005244, allocations: 149.4 kB / 327.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.005254, allocations: 25.7 kB / 327.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.284e-05/0.005287, allocations: 92.47 kB / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.005303, allocations: 0 / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.005332, allocations: 25.66 kB / 327.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.005439, allocations: 318.8 kB / 328.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.247e-05/0.005451, allocations: 8 kB / 328.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.939e-05/0.005471, allocations: 17.7 kB / 328.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.743e-05/0.005498, allocations: 21.72 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.0055, allocations: 0 / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.322e-05/0.005553, allocations: 57.58 kB / 328.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.005567, allocations: 7.984 kB / 328.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.005572, allocations: 0 / 328.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.005585, allocations: 12 kB / 328.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.432e-05/0.005629, allocations: 4 kB / 328.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.005634, allocations: 0 / 328.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.235e-05/0.005646, allocations: 3.953 kB / 328.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.005651, allocations: 4 kB / 328.3 MB, free: 11.9 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: 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 (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 6.698e-05/0.005718, allocations: 129.8 kB / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.236e-05/0.00581, allocations: 113.5 kB / 328.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.005841, allocations: 21.11 kB / 328.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.005844, allocations: 4 kB / 328.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.005847, allocations: 0 / 328.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.00585, allocations: 4 kB / 328.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.731e-05/0.005917, allocations: 152.6 kB / 328.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.005918, allocations: 4 kB / 328.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.206e-05/0.00598, allocations: 27.92 kB / 328.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.005984, allocations: 7.938 kB / 328.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.005991, allocations: 0 / 328.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.005991, allocations: 0 / 328.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005992, allocations: 4 kB / 328.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.006179, allocations: 149 kB / 328.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.006225, allocations: 27.86 kB / 328.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.006243, allocations: 7.984 kB / 328.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.423e-05/0.006258, allocations: 4 kB / 328.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-06/0.00626, allocations: 0 / 328.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.006266, allocations: 8 kB / 328.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.843e-05/0.006314, allocations: 111.2 kB / 329 MB, free: 11.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006314, allocations: 0 / 329 MB, free: 11.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001285/0.006443, allocations: 12 kB / 329 MB, free: 11.06 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: 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.0003772/0.00682, allocations: 0.7361 MB / 329.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.775e-05/0.006918, allocations: 47.86 kB / 329.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.006919, allocations: 192 / 329.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.006919, allocations: 4 kB / 329.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.007219, allocations: 83.09 kB / 329.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009406/0.00816, allocations: 1.334 MB / 331.2 MB, free: 8.742 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.239e-05/0.008232, allocations: 100.9 kB / 331.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.732e-05/0.00825, allocations: 16.41 kB / 331.4 MB, free: 8.605 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.008296, allocations: 24.5 kB / 331.4 MB, free: 8.582 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.008296, allocations: 0 / 331.4 MB, free: 8.582 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.02747, allocations: 3.029 MB / 334.4 MB, free: 5.688 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.893/6.921, allocations: 8 kB / 334.4 MB, free: 5.68 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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_RealSignals_AssignClockVectorized.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable assignClock1.y[1] in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[1] from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv failed! Error: Could not read variable assignClock1.y[2] in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[2] from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.758492265827954]