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.001836/0.001836, allocations: 103.5 kB / 20.43 MB, free: 1.199 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.002027/0.002027, allocations: 193.7 kB / 23.71 MB, free: 4.422 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.484/1.484, allocations: 225.7 MB / 252.5 MB, free: 12.85 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.001804/0.001804, allocations: 51.92 kB / 370.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2635, allocations: 52.18 MB / 422.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002757/0.2662, allocations: 1.021 MB / 423.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004251/0.2667, allocations: 131.6 kB / 423.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.2668, allocations: 7.938 kB / 423.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.609e-05/0.2669, allocations: 7.875 kB / 423.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.267, allocations: 15.86 kB / 423.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.2672, allocations: 47.89 kB / 423.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.2674, allocations: 75.7 kB / 423.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.2676, allocations: 19.98 kB / 423.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.577e-05/0.2676, allocations: 35.84 kB / 423.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.906e-05/0.2677, allocations: 19.86 kB / 424 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.2677, allocations: 8 kB / 424 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.616e-05/0.2677, allocations: 4 kB / 424 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.833e-05/0.2678, allocations: 27.86 kB / 424 MB, free: 13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.918e-05/0.2679, allocations: 31.8 kB / 424 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.2681, allocations: 97.2 kB / 424.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2681, allocations: 0 / 424.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2681, allocations: 0 / 424.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.2681, allocations: 0 / 424.1 MB, free: 12.88 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.0005203/0.2686, allocations: 333.8 kB / 424.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.2686, allocations: 12.03 kB / 424.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.853e-05/0.2687, allocations: 38.73 kB / 424.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.536e-05/0.2687, allocations: 16.84 kB / 424.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.269, allocations: 150.8 kB / 424.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.269, allocations: 12.38 kB / 424.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.2691, allocations: 4.375 kB / 424.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004091/0.2695, allocations: 213.8 kB / 424.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2695, allocations: 3.984 kB / 424.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.2695, allocations: 4 kB / 424.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2695, allocations: 7.984 kB / 424.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.871e-05/0.2696, allocations: 39.92 kB / 424.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.2697, allocations: 144.7 kB / 425.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.27, allocations: 123 kB / 425.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.2701, allocations: 69.05 kB / 425.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.2701, allocations: 7.938 kB / 425.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.2701, allocations: 34.5 kB / 425.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.2701, allocations: 0 / 425.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002915/0.2704, allocations: 148.8 kB / 425.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.2705, allocations: 71.34 kB / 425.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.2706, allocations: 143.9 kB / 425.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.2706, allocations: 29.7 kB / 425.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.2707, allocations: 92.45 kB / 425.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.2707, allocations: 15.89 kB / 425.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.2708, allocations: 29.7 kB / 425.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2709, allocations: 326.8 kB / 426.2 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.724e-05/0.271, allocations: 19.98 kB / 426.2 MB, free: 10.63 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.2711, allocations: 115.9 kB / 426.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.2712, allocations: 157.5 kB / 426.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.2712, allocations: 3.938 kB / 426.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002422/0.2715, allocations: 157.2 kB / 426.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2715, allocations: 12.44 kB / 426.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2715, allocations: 8 kB / 426.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.2715, allocations: 4 kB / 426.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.2716, allocations: 31.98 kB / 426.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.2717, allocations: 7.938 kB / 426.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.991e-05/0.2717, allocations: 8 kB / 426.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.2717, allocations: 8 kB / 426.7 MB, free: 10.02 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.0001253/0.2719, allocations: 145.6 kB / 426.8 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.272, allocations: 117.5 kB / 426.9 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.603e-05/0.2721, allocations: 17.12 kB / 426.9 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.2721, allocations: 4 kB / 427 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2721, allocations: 4 kB / 427 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2721, allocations: 0 / 427 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.2722, allocations: 156.6 kB / 427.1 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.2722, allocations: 4 kB / 427.1 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.2723, allocations: 23.94 kB / 427.1 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2723, allocations: 0 / 427.1 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.2723, allocations: 3.984 kB / 427.1 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2723, allocations: 0 / 427.1 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2723, allocations: 0 / 427.1 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.2726, allocations: 152.5 kB / 427.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/0.2726, allocations: 31.89 kB / 427.3 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.2726, allocations: 4 kB / 427.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.011e-05/0.2727, allocations: 4 kB / 427.3 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-06/0.2727, allocations: 0 / 427.3 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.2727, allocations: 4 kB / 427.3 MB, free: 9.293 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.483e-05/0.2728, allocations: 112.8 kB / 427.4 MB, free: 9.184 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2728, allocations: 0 / 427.4 MB, free: 9.184 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.273, allocations: 16 kB / 427.5 MB, free: 9.168 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.0006776/0.2737, allocations: 0.745 MB / 428.2 MB, free: 8.395 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.2739, allocations: 91.84 kB / 428.3 MB, free: 8.305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2739, allocations: 0 / 428.3 MB, free: 8.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2739, allocations: 0 / 428.3 MB, free: 8.305 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.2743, allocations: 71.92 kB / 428.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.276, allocations: 1.671 MB / 430 MB, free: 6.391 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.449e-05/0.2761, allocations: 101.2 kB / 430.1 MB, free: 6.273 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.423e-05/0.2762, allocations: 8.641 kB / 430.1 MB, free: 6.266 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.2762, allocations: 27.42 kB / 430.2 MB, free: 6.238 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2762, allocations: 0 / 430.2 MB, free: 6.238 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.307, allocations: 3.028 MB / 433.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.5, allocations: 11.34 kB / 433.2 MB, free: 3.352 MB / 334.1 MB " [Timeout remaining time 648] (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: 14.027915352024138]