Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.001313/0.001313, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.001428/0.001428, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.442/1.442, allocations: 230.5 MB / 257.4 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] 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.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 63.88 kB / 377.7 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2402, allocations: 53.4 MB / 431.1 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002553/0.2427, allocations: 1.022 MB / 432.2 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004367/0.2431, allocations: 131.5 kB / 432.3 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.884e-05/0.2432, allocations: 3.938 kB / 432.3 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.2434, allocations: 7.875 kB / 432.3 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.2435, allocations: 27.8 kB / 432.3 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.2437, allocations: 43.89 kB / 432.4 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.2438, allocations: 67.83 kB / 432.4 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.244, allocations: 31.91 kB / 432.5 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.599e-05/0.244, allocations: 27.86 kB / 432.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.689e-05/0.2441, allocations: 27.8 kB / 432.5 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.2441, allocations: 11.98 kB / 432.5 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.774e-05/0.2441, allocations: 4 kB / 432.5 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.076e-05/0.2442, allocations: 19.92 kB / 432.6 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.489e-05/0.2443, allocations: 31.8 kB / 432.6 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.2445, allocations: 101.1 kB / 432.7 MB, free: 4.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2445, allocations: 0 / 432.7 MB, free: 4.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2445, allocations: 0 / 432.7 MB, free: 4.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.2445, allocations: 0 / 432.7 MB, free: 4.879 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.0005686/0.2451, allocations: 333.8 kB / 433 MB, free: 4.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.2451, allocations: 11.98 kB / 433 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.232e-05/0.2452, allocations: 42.73 kB / 433.1 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.2452, allocations: 12.89 kB / 433.1 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.2455, allocations: 158.5 kB / 433.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.2455, allocations: 8.328 kB / 433.3 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.2455, allocations: 8.375 kB / 433.3 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004218/0.246, allocations: 213.6 kB / 433.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.246, allocations: 0 / 433.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.246, allocations: 4 kB / 433.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.246, allocations: 11.98 kB / 433.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.786e-05/0.2461, allocations: 35.91 kB / 433.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.2463, allocations: 152.7 kB / 433.7 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.2465, allocations: 119 kB / 433.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.2466, allocations: 69.05 kB / 433.9 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.2466, allocations: 7.938 kB / 433.9 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.2467, allocations: 38.5 kB / 433.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.2467, allocations: 0 / 433.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003267/0.247, allocations: 148.8 kB / 434 MB, free: 3.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/0.2471, allocations: 67.39 kB / 434.1 MB, free: 3.316 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.2472, allocations: 146.4 kB / 434.3 MB, free: 3.156 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.2473, allocations: 25.7 kB / 434.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.059e-05/0.2473, allocations: 96.45 kB / 434.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.2473, allocations: 11.88 kB / 434.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.2474, allocations: 37.66 kB / 434.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.2475, allocations: 322.8 kB / 434.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.362e-05/0.2476, allocations: 23.98 kB / 434.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.2477, allocations: 117.7 kB / 434.9 MB, free: 2.457 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.2479, allocations: 149.5 kB / 435 MB, free: 2.262 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.2479, allocations: 7.938 kB / 435 MB, free: 2.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002378/0.2481, allocations: 153.2 kB / 435.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2481, allocations: 8.5 kB / 435.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2482, allocations: 8 kB / 435.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.2482, allocations: 4 kB / 435.2 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.2483, allocations: 27.98 kB / 435.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.2483, allocations: 11.94 kB / 435.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.585e-05/0.2484, allocations: 11.95 kB / 435.2 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.2484, allocations: 8 kB / 435.3 MB, free: 2.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.0001199/0.2485, allocations: 137.6 kB / 435.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.2487, allocations: 121.5 kB / 435.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.575e-05/0.2487, allocations: 21.12 kB / 435.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2487, allocations: 0 / 435.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2487, allocations: 4 kB / 435.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2487, allocations: 4 kB / 435.5 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.2489, allocations: 148.7 kB / 435.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2489, allocations: 0 / 435.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.6e-05/0.249, allocations: 23.94 kB / 435.7 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.249, allocations: 4 kB / 435.7 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.249, allocations: 11.92 kB / 435.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.249, allocations: 0 / 435.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.249, allocations: 0 / 435.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.2492, allocations: 155.8 kB / 435.9 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/0.2492, allocations: 23.89 kB / 435.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.2493, allocations: 12 kB / 435.9 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.483e-05/0.2493, allocations: 0 / 435.9 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-06/0.2493, allocations: 0 / 435.9 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.2493, allocations: 4 kB / 435.9 MB, free: 1.289 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.715e-05/0.2494, allocations: 118.6 kB / 436 MB, free: 1.176 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2494, allocations: 0 / 436 MB, free: 1.176 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002399/0.2496, allocations: 16 kB / 436 MB, free: 1.16 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.0006161/0.2502, allocations: 0.7294 MB / 436.8 MB, free: 412 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.2504, allocations: 95.84 kB / 436.9 MB, free: 316 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2504, allocations: 0 / 436.9 MB, free: 316 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-07/0.2504, allocations: 3.938 kB / 436.9 MB, free: 312 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.2508, allocations: 78.42 kB / 436.9 MB, free: 236 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.2526, allocations: 1.662 MB / 438.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.2527, allocations: 101.2 kB / 438.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.912e-05/0.2527, allocations: 12.64 kB / 438.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.094e-05/0.2528, allocations: 27.44 kB / 438.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2528, allocations: 0 / 438.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03175/0.2845, allocations: 3.036 MB / 441.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.21, allocations: 3.938 kB / 441.8 MB, free: 11.31 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[1] from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv failed! Error: Could not read variable assignClock1.y[2] in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[2] from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.711441063787788]