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.001292/0.001292, allocations: 110 kB / 20.43 MB, free: 1.453 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.001416/0.001416, allocations: 213.1 kB / 23.74 MB, free: 4.66 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.469/1.469, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.002955/0.002955, allocations: 67.84 kB / 377.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2819, allocations: 53.39 MB / 431.2 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002555/0.2845, allocations: 1.058 MB / 432.2 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004028/0.2849, allocations: 139.5 kB / 432.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.285, allocations: 3.938 kB / 432.4 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.2851, allocations: 15.86 kB / 432.4 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.2852, allocations: 7.875 kB / 432.4 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.2855, allocations: 47.89 kB / 432.5 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.2856, allocations: 71.77 kB / 432.5 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.2857, allocations: 31.97 kB / 432.6 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.375e-05/0.2858, allocations: 31.84 kB / 432.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.997e-05/0.2858, allocations: 23.86 kB / 432.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.2859, allocations: 8 kB / 432.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.528e-05/0.2859, allocations: 4 kB / 432.6 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.544e-05/0.286, allocations: 31.84 kB / 432.7 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.507e-05/0.286, allocations: 35.75 kB / 432.7 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.2862, allocations: 91.94 kB / 432.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2862, allocations: 0 / 432.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2862, allocations: 0 / 432.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.2862, allocations: 3.938 kB / 432.8 MB, free: 5.129 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.0004941/0.2867, allocations: 333.8 kB / 433.1 MB, free: 4.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2867, allocations: 8.031 kB / 433.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.698e-05/0.2868, allocations: 46.73 kB / 433.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.2868, allocations: 16.84 kB / 433.2 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.2871, allocations: 146.5 kB / 433.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.2871, allocations: 4.375 kB / 433.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.2871, allocations: 16.31 kB / 433.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003971/0.2875, allocations: 221.6 kB / 433.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2875, allocations: 0 / 433.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.2875, allocations: 4 kB / 433.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2875, allocations: 0 / 433.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.088e-05/0.2876, allocations: 35.92 kB / 433.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.2878, allocations: 168.6 kB / 433.8 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.288, allocations: 119 kB / 433.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.2881, allocations: 68.34 kB / 433.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.2881, allocations: 7.938 kB / 434 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.2881, allocations: 38.5 kB / 434 MB, free: 3.789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.2881, allocations: 3.938 kB / 434 MB, free: 3.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003001/0.2884, allocations: 149.6 kB / 434.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.2885, allocations: 63.41 kB / 434.2 MB, free: 3.559 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.2886, allocations: 138.4 kB / 434.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.2887, allocations: 33.69 kB / 434.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.2887, allocations: 92.41 kB / 434.5 MB, free: 3.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.2887, allocations: 11.92 kB / 434.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.2888, allocations: 41.67 kB / 434.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2889, allocations: 322.8 kB / 434.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.565e-05/0.289, allocations: 19.98 kB / 434.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.2891, allocations: 120.2 kB / 435 MB, free: 2.703 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.2892, allocations: 149.5 kB / 435.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.2892, allocations: 3.938 kB / 435.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000223/0.2895, allocations: 165.6 kB / 435.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2895, allocations: 4 kB / 435.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2895, allocations: 4 kB / 435.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.2895, allocations: 4 kB / 435.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.2896, allocations: 39.92 kB / 435.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2896, allocations: 4 kB / 435.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.616e-05/0.2897, allocations: 7.953 kB / 435.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.2897, allocations: 15.98 kB / 435.4 MB, free: 2.258 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.0001154/0.2898, allocations: 141.8 kB / 435.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.29, allocations: 113.6 kB / 435.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/0.29, allocations: 17.12 kB / 435.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-06/0.29, allocations: 4 kB / 435.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.29, allocations: 0 / 435.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.29, allocations: 0 / 435.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.2902, allocations: 164.6 kB / 435.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2902, allocations: 4 kB / 435.8 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.845e-05/0.2903, allocations: 27.94 kB / 435.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2903, allocations: 0 / 435.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.2903, allocations: 0 / 435.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.2903, allocations: 7.984 kB / 435.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2903, allocations: 4 kB / 435.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.2905, allocations: 156.6 kB / 436 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.108e-05/0.2906, allocations: 19.94 kB / 436 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.2906, allocations: 8 kB / 436 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.545e-05/0.2906, allocations: 0 / 436 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-06/0.2906, allocations: 0 / 436 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.2906, allocations: 8 kB / 436 MB, free: 1.523 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.835e-05/0.2907, allocations: 122.2 kB / 436.1 MB, free: 1.406 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2907, allocations: 3.938 kB / 436.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.2909, allocations: 16 kB / 436.2 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.0006548/0.2916, allocations: 0.7295 MB / 436.9 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.2918, allocations: 95.78 kB / 437 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2918, allocations: 0 / 437 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.22e-07/0.2918, allocations: 4 kB / 437 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.2922, allocations: 67.92 kB / 437 MB, free: 476 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.2939, allocations: 1.663 MB / 438.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.2942, allocations: 0.7162 MB / 439.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.898e-05/0.2943, allocations: 8.641 kB / 439.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.422e-05/0.2943, allocations: 23.44 kB / 439.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2943, allocations: 0 / 439.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.3249, allocations: 2.679 MB / 442.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.21, allocations: 8.734 kB / 442.1 MB, free: 11.27 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.705393948002893]