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.001948/0.001948, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002323/0.002323, allocations: 209.9 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001597/0.001597, allocations: 55.94 kB / 377.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2501, allocations: 53.36 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002585/0.2527, allocations: 1.011 MB / 432.1 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003975/0.2531, allocations: 139.5 kB / 432.2 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.994e-05/0.2532, allocations: 4 kB / 432.3 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.2533, allocations: 7.875 kB / 432.3 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.2534, allocations: 11.86 kB / 432.3 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.2536, allocations: 47.89 kB / 432.3 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.2537, allocations: 71.77 kB / 432.4 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.2539, allocations: 27.97 kB / 432.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.286e-05/0.2539, allocations: 31.86 kB / 432.4 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.711e-05/0.254, allocations: 31.78 kB / 432.5 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.254, allocations: 4 kB / 432.5 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.254, allocations: 4 kB / 432.5 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.974e-05/0.2541, allocations: 27.91 kB / 432.5 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.991e-05/0.2541, allocations: 31.75 kB / 432.5 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.2543, allocations: 97.14 kB / 432.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2543, allocations: 0 / 432.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2543, allocations: 0 / 432.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.2543, allocations: 0 / 432.6 MB, free: 5.109 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.000446/0.2547, allocations: 333.8 kB / 433 MB, free: 4.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.2548, allocations: 12.03 kB / 433 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.2548, allocations: 42.73 kB / 433 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.2548, allocations: 8.891 kB / 433 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.2551, allocations: 154.8 kB / 433.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.2551, allocations: 12.33 kB / 433.2 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.2551, allocations: 8.375 kB / 433.2 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/0.2555, allocations: 217.6 kB / 433.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2555, allocations: 0 / 433.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2555, allocations: 4 kB / 433.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.2556, allocations: 0 / 433.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.847e-05/0.2556, allocations: 43.92 kB / 433.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.2558, allocations: 148.7 kB / 433.6 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.256, allocations: 118.7 kB / 433.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.2562, allocations: 73.33 kB / 433.8 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.2562, allocations: 11.88 kB / 433.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.2562, allocations: 34.5 kB / 433.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.2562, allocations: 0 / 433.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002905/0.2565, allocations: 156.1 kB / 434 MB, free: 3.617 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.2566, allocations: 63.34 kB / 434 MB, free: 3.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.2567, allocations: 145.4 kB / 434.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.2567, allocations: 29.7 kB / 434.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.2568, allocations: 88.47 kB / 434.3 MB, free: 3.258 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.2568, allocations: 15.92 kB / 434.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.2569, allocations: 37.67 kB / 434.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.257, allocations: 322.8 kB / 434.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.125e-05/0.2571, allocations: 23.92 kB / 434.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.2572, allocations: 113.7 kB / 434.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.2574, allocations: 149.5 kB / 435 MB, free: 2.496 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2574, allocations: 3.938 kB / 435 MB, free: 2.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000235/0.2576, allocations: 157.2 kB / 435.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2576, allocations: 4 kB / 435.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.2577, allocations: 7.984 kB / 435.1 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2577, allocations: 4 kB / 435.1 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.2578, allocations: 39.92 kB / 435.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.2578, allocations: 4.5 kB / 435.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.282e-05/0.2579, allocations: 15.94 kB / 435.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.2579, allocations: 12 kB / 435.2 MB, free: 2.246 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.0001209/0.258, allocations: 137.7 kB / 435.3 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.2582, allocations: 117.5 kB / 435.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.2582, allocations: 17.12 kB / 435.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.2582, allocations: 4 kB / 435.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2582, allocations: 0 / 435.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2582, allocations: 3.984 kB / 435.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.2583, allocations: 152.7 kB / 435.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2583, allocations: 3.938 kB / 435.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.196e-05/0.2584, allocations: 27.98 kB / 435.7 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.2584, allocations: 3.938 kB / 435.7 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.2584, allocations: 0 / 435.7 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2584, allocations: 0 / 435.7 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2584, allocations: 4 kB / 435.7 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.2586, allocations: 164.2 kB / 435.8 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.2587, allocations: 23.89 kB / 435.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.2587, allocations: 0 / 435.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.547e-05/0.2588, allocations: 4 kB / 435.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-06/0.2588, allocations: 4 kB / 435.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.2588, allocations: 4 kB / 435.9 MB, free: 1.516 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.264e-05/0.2588, allocations: 115.2 kB / 436 MB, free: 1.402 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2588, allocations: 0 / 436 MB, free: 1.402 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002206/0.2591, allocations: 16 kB / 436 MB, free: 1.387 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.0006588/0.2597, allocations: 0.745 MB / 436.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.2599, allocations: 84.66 kB / 436.8 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2599, allocations: 0 / 436.8 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.11e-07/0.2599, allocations: 4.188 kB / 436.8 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.2603, allocations: 74.58 kB / 436.9 MB, free: 468 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.2619, allocations: 1.662 MB / 438.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.262, allocations: 105.2 kB / 438.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.231e-05/0.2621, allocations: 8.641 kB / 438.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.892e-05/0.2621, allocations: 27.44 kB / 438.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2621, allocations: 0 / 438.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.2913, allocations: 3.024 MB / 441.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.6, allocations: 14.02 kB / 441.7 MB, free: 11.57 MB / 350.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/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: 14.160648101009429]