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.0007981/0.0007981, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008113/0.0008113, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9017/0.9017, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.583e-06/1.583e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.016e-05, allocations: 10.28 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.001901/0.001921, allocations: 1.023 MB / 325.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000331/0.002252, allocations: 127.6 kB / 325.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.922e-05/0.002341, allocations: 7.938 kB / 325.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.839e-05/0.00244, allocations: 7.875 kB / 325.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.002546, allocations: 23.86 kB / 325.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.002739, allocations: 47.81 kB / 325.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.00284, allocations: 63.83 kB / 325.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.002944, allocations: 27.97 kB / 325.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.474e-05/0.002989, allocations: 39.84 kB / 325.9 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.271e-05/0.003032, allocations: 19.92 kB / 325.9 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.003055, allocations: 4 kB / 325.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.144e-05/0.003067, allocations: 8 kB / 325.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.221e-05/0.003129, allocations: 31.89 kB / 326 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.003166, allocations: 15.94 kB / 326 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.003292, allocations: 95.61 kB / 326.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.003294, allocations: 0 / 326.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.003294, allocations: 0 / 326.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.003298, allocations: 4 kB / 326.1 MB, free: 14.33 MB / 298.7 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.0003423/0.00364, allocations: 321.8 kB / 326.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.003678, allocations: 19.92 kB / 326.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.208e-05/0.00371, allocations: 38.75 kB / 326.4 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.003737, allocations: 16.88 kB / 326.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.003926, allocations: 146.1 kB / 326.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.003937, allocations: 12.33 kB / 326.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.003948, allocations: 4.375 kB / 326.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.004247, allocations: 230.1 kB / 326.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.026e-06/0.004255, allocations: 192 / 326.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.004266, allocations: 11.94 kB / 326.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.004271, allocations: 4 kB / 326.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.937e-05/0.004331, allocations: 35.98 kB / 326.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001126/0.004443, allocations: 144.7 kB / 327 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.004604, allocations: 123 kB / 327.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.579e-05/0.00468, allocations: 75.94 kB / 327.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.004689, allocations: 4 kB / 327.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.004709, allocations: 34.55 kB / 327.3 MB, free: 13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 8.42e-07/0.00471, allocations: 0 / 327.3 MB, free: 13 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002039/0.004914, allocations: 149.5 kB / 327.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.004959, allocations: 67.34 kB / 327.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.752e-05/0.005046, allocations: 153.4 kB / 327.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.005056, allocations: 25.7 kB / 327.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/0.005088, allocations: 92.47 kB / 327.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.005102, allocations: 3.984 kB / 327.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.005128, allocations: 21.67 kB / 327.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.038e-05/0.005209, allocations: 318.8 kB / 328.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.325e-05/0.005222, allocations: 8 kB / 328.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.779e-05/0.00524, allocations: 17.72 kB / 328.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.828e-05/0.005268, allocations: 25.66 kB / 328.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.005271, allocations: 8 kB / 328.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.892e-05/0.00532, allocations: 53.62 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.005331, allocations: 4 kB / 328.2 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.005335, allocations: 0 / 328.2 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.005346, allocations: 0 / 328.2 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.422e-05/0.00539, allocations: 11.94 kB / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.005395, allocations: 0 / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.299e-05/0.005408, allocations: 3.953 kB / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.005414, allocations: 4 kB / 328.2 MB, free: 11.97 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 6.841e-05/0.005482, allocations: 133.8 kB / 328.4 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.68e-05/0.005579, allocations: 120.2 kB / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.005605, allocations: 17.12 kB / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.005608, allocations: 4 kB / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.005612, allocations: 0 / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.005615, allocations: 3.938 kB / 328.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.833e-05/0.005683, allocations: 152.7 kB / 328.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.005684, allocations: 0 / 328.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.704e-05/0.005742, allocations: 27.94 kB / 328.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.005744, allocations: 3.938 kB / 328.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.005751, allocations: 4 kB / 328.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.005752, allocations: 4 kB / 328.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.005753, allocations: 3.984 kB / 328.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.005867, allocations: 145 kB / 328.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.005909, allocations: 35.95 kB / 328.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.005922, allocations: 0 / 328.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.265e-05/0.005934, allocations: 7.938 kB / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-06/0.00594, allocations: 0 / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.005946, allocations: 4 kB / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.991e-05/0.005996, allocations: 111.2 kB / 329 MB, free: 11.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005996, allocations: 0 / 329 MB, free: 11.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001461/0.006142, allocations: 12 kB / 329 MB, free: 11.13 MB / 298.7 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.0003925/0.006534, allocations: 0.7411 MB / 329.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.569e-05/0.00663, allocations: 51.16 kB / 329.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.006631, allocations: 0 / 329.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.22e-07/0.006632, allocations: 0 / 329.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.006915, allocations: 75.91 kB / 329.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007894/0.007704, allocations: 1.33 MB / 331.2 MB, free: 8.816 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.413e-05/0.007768, allocations: 105 kB / 331.3 MB, free: 8.691 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.528e-05/0.007784, allocations: 0.5 kB / 331.3 MB, free: 8.691 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.007828, allocations: 32.42 kB / 331.3 MB, free: 8.66 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.007828, allocations: 0 / 331.3 MB, free: 8.66 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.02313, allocations: 3.016 MB / 334.3 MB, free: 5.746 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.766/6.789, allocations: 3.094 kB / 334.3 MB, free: 5.746 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/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: 8.546707608737051]