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.0007929/0.0007929, 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.0008572/0.0008572, 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.8825/0.8825, allocations: 177 MB / 204.1 MB, free: 5.758 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 2.154e-06/2.154e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.516e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.001596/0.001621, allocations: 1.027 MB / 325.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003334/0.001955, allocations: 131.5 kB / 325.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.00206, allocations: 0 / 325.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.002177, allocations: 7.875 kB / 325.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.002291, allocations: 23.8 kB / 325.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.002523, allocations: 43.83 kB / 325.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.002659, allocations: 63.84 kB / 325.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.002799, allocations: 31.95 kB / 325.9 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.298e-05/0.002862, allocations: 35.91 kB / 325.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.53e-05/0.002917, allocations: 23.91 kB / 325.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.002945, allocations: 7.938 kB / 325.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.662e-05/0.002962, allocations: 8 kB / 325.9 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.463e-05/0.003036, allocations: 31.84 kB / 326 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.293e-05/0.003079, allocations: 19.92 kB / 326 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.003218, allocations: 87.62 kB / 326.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.003223, allocations: 4 kB / 326.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.003224, allocations: 0 / 326.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.003228, allocations: 4 kB / 326.1 MB, free: 14.34 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.0003947/0.003623, allocations: 325.8 kB / 326.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.003664, allocations: 11.98 kB / 326.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.003698, allocations: 42.75 kB / 326.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.003722, allocations: 8.891 kB / 326.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.003929, allocations: 150.1 kB / 326.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.00394, allocations: 12.33 kB / 326.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.00395, allocations: 4.375 kB / 326.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.00424, allocations: 226.4 kB / 326.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.004247, allocations: 192 / 326.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.004259, allocations: 11.92 kB / 326.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.004264, allocations: 3.938 kB / 326.9 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.223e-05/0.004317, allocations: 39.92 kB / 326.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.004481, allocations: 144.7 kB / 327 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.004641, allocations: 130.5 kB / 327.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.447e-05/0.004716, allocations: 71.25 kB / 327.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.004728, allocations: 0 / 327.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.004755, allocations: 34.56 kB / 327.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 9.02e-07/0.004756, allocations: 4 kB / 327.3 MB, free: 13.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002199/0.004976, allocations: 156.1 kB / 327.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.005027, allocations: 63.34 kB / 327.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.841e-05/0.005115, allocations: 149.4 kB / 327.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.005125, allocations: 25.7 kB / 327.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.00516, allocations: 92.47 kB / 327.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.005175, allocations: 7.984 kB / 327.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.533e-05/0.00527, allocations: 21.67 kB / 327.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.272e-05/0.005343, allocations: 314.8 kB / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.418e-05/0.005357, allocations: 11.98 kB / 328.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.797e-05/0.005375, allocations: 17.72 kB / 328.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.872e-05/0.005404, allocations: 25.72 kB / 328.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.005406, allocations: 3.938 kB / 328.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.533e-05/0.005461, allocations: 53.62 kB / 328.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.005473, allocations: 8.062 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.005479, allocations: 0 / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.005492, allocations: 4 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.806e-05/0.00554, allocations: 4 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.005545, allocations: 3.938 kB / 328.2 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.413e-05/0.00556, allocations: 7.953 kB / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.005565, allocations: 0 / 328.2 MB, free: 11.98 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 7.454e-05/0.00564, allocations: 125.8 kB / 328.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.552e-05/0.005735, allocations: 117.5 kB / 328.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.005764, allocations: 17.11 kB / 328.5 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.005767, allocations: 8 kB / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.005771, allocations: 0 / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.005775, allocations: 0 / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.837e-05/0.005853, allocations: 156.6 kB / 328.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.005854, allocations: 0 / 328.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.376e-05/0.005918, allocations: 27.92 kB / 328.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.005921, allocations: 3.938 kB / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.005928, allocations: 4 kB / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.00593, allocations: 4 kB / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.005931, allocations: 0 / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.006046, allocations: 148.9 kB / 328.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.006084, allocations: 31.88 kB / 328.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.006097, allocations: 0 / 328.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.243e-05/0.00611, allocations: 7.938 kB / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-06/0.006112, allocations: 0 / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.006116, allocations: 4 kB / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.627e-05/0.006162, allocations: 111.2 kB / 329 MB, free: 11.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006162, allocations: 0 / 329 MB, free: 11.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001249/0.006287, allocations: 12 kB / 329 MB, free: 11.15 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.0004735/0.006761, allocations: 0.7362 MB / 329.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.8e-05/0.006859, allocations: 59.91 kB / 329.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.006861, allocations: 0 / 329.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.006861, allocations: 0 / 329.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.007129, allocations: 75.91 kB / 329.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007404/0.00787, allocations: 1.334 MB / 331.2 MB, free: 8.828 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.717e-05/0.007927, allocations: 100.8 kB / 331.3 MB, free: 8.707 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.356e-05/0.00794, allocations: 0.625 kB / 331.3 MB, free: 8.707 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.007981, allocations: 28.5 kB / 331.3 MB, free: 8.68 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007982, allocations: 4 kB / 331.3 MB, free: 8.676 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01467/0.02266, allocations: 3.018 MB / 334.3 MB, free: 5.762 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.412/6.435, allocations: 11.16 kB / 334.3 MB, free: 5.754 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.083416493609548]