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.001744/0.001744, allocations: 105.5 kB / 20.43 MB, free: 1.473 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.00241/0.00241, allocations: 184.2 kB / 23.71 MB, free: 4.719 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.56/1.56, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 47.92 kB / 370.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2913, allocations: 52.19 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002597/0.2939, allocations: 1.064 MB / 423.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004326/0.2943, allocations: 135.5 kB / 423.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.255e-05/0.2944, allocations: 3.938 kB / 423.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.2945, allocations: 15.86 kB / 423.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.2946, allocations: 7.875 kB / 423.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.2948, allocations: 51.88 kB / 423.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.295, allocations: 71.78 kB / 424 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.2951, allocations: 23.98 kB / 424 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.262e-05/0.2952, allocations: 23.92 kB / 424 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.912e-05/0.2952, allocations: 31.78 kB / 424.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.2953, allocations: 8 kB / 424.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/0.2953, allocations: 4 kB / 424.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.224e-05/0.2953, allocations: 27.91 kB / 424.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.432e-05/0.2954, allocations: 47.61 kB / 424.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.2956, allocations: 87.94 kB / 424.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2956, allocations: 4 kB / 424.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2956, allocations: 0 / 424.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2956, allocations: 4 kB / 424.2 MB, free: 13.01 MB / 334.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.0004981/0.2961, allocations: 329.8 kB / 424.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.2961, allocations: 8.031 kB / 424.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.475e-05/0.2962, allocations: 42.75 kB / 424.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.2962, allocations: 12.84 kB / 424.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.2964, allocations: 152.7 kB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.2965, allocations: 4.375 kB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.2965, allocations: 16.38 kB / 424.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.2969, allocations: 209.5 kB / 425 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2969, allocations: 3.938 kB / 425 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.2969, allocations: 7.938 kB / 425 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2969, allocations: 0 / 425 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.805e-05/0.297, allocations: 39.92 kB / 425.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.2971, allocations: 156.7 kB / 425.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.2974, allocations: 118.6 kB / 425.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.2975, allocations: 69.47 kB / 425.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.2975, allocations: 11.94 kB / 425.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.2975, allocations: 34.5 kB / 425.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.2975, allocations: 0 / 425.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002931/0.2978, allocations: 153.5 kB / 425.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.2979, allocations: 63.41 kB / 425.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.298, allocations: 144.1 kB / 425.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.298, allocations: 29.7 kB / 425.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.2981, allocations: 88.47 kB / 425.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.2981, allocations: 19.88 kB / 425.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.2982, allocations: 33.72 kB / 426 MB, free: 11.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.2983, allocations: 322.8 kB / 426.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.905e-05/0.2983, allocations: 19.98 kB / 426.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.2985, allocations: 121 kB / 426.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.2986, allocations: 149.5 kB / 426.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.2986, allocations: 7.922 kB / 426.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002391/0.2989, allocations: 161.3 kB / 426.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2989, allocations: 8 kB / 426.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2989, allocations: 4 kB / 426.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.2989, allocations: 4 kB / 426.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.299, allocations: 35.92 kB / 426.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.299, allocations: 7.938 kB / 426.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.58e-05/0.2991, allocations: 4 kB / 426.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.2991, allocations: 12.34 kB / 426.8 MB, free: 10.16 MB / 334.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.0001155/0.2992, allocations: 137.7 kB / 426.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.2994, allocations: 125.2 kB / 427 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.2994, allocations: 21.11 kB / 427.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2994, allocations: 4 kB / 427.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.2994, allocations: 4 kB / 427.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2995, allocations: 0 / 427.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.2996, allocations: 164.6 kB / 427.2 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2996, allocations: 0 / 427.2 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.569e-05/0.2997, allocations: 31.97 kB / 427.3 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2997, allocations: 7.938 kB / 427.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.2997, allocations: 0 / 427.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2997, allocations: 0 / 427.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2997, allocations: 0 / 427.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.2999, allocations: 152.9 kB / 427.4 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.257e-05/0.2999, allocations: 23.89 kB / 427.4 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.3, allocations: 8 kB / 427.5 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.643e-05/0.3, allocations: 4 kB / 427.5 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-06/0.3, allocations: 4 kB / 427.5 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.3, allocations: 4 kB / 427.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.942e-05/0.3001, allocations: 114.6 kB / 427.6 MB, free: 9.301 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3001, allocations: 0 / 427.6 MB, free: 9.301 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.3003, allocations: 16 kB / 427.6 MB, free: 9.285 MB / 334.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.0006301/0.301, allocations: 0.7412 MB / 428.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.3011, allocations: 91.72 kB / 428.4 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.3012, allocations: 0 / 428.4 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.3012, allocations: 0 / 428.4 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.3015, allocations: 71.22 kB / 428.5 MB, free: 8.359 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.3032, allocations: 1.673 MB / 430.2 MB, free: 6.512 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.3035, allocations: 0.7123 MB / 430.9 MB, free: 5.773 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.147e-05/0.3035, allocations: 8.641 kB / 430.9 MB, free: 5.766 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/0.3036, allocations: 27.42 kB / 430.9 MB, free: 5.738 MB / 334.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3036, allocations: 4 kB / 430.9 MB, free: 5.734 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.3305, allocations: 2.666 MB / 433.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.27, allocations: 11.95 kB / 433.6 MB, free: 3.188 MB / 334.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.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_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.csv","/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] "Error: Could not read variable assignClock1.y[1] in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[1] from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv failed! Error: Could not read variable assignClock1.y[2] in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[2] from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.957283537001786]