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.001331/0.001331, 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.001624/0.001624, allocations: 207.2 kB / 23.73 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.555/1.555, allocations: 230.5 MB / 257.4 MB, free: 7.762 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.001929/0.001929, allocations: 59.91 kB / 377.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3034, allocations: 53.4 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002605/0.306, allocations: 1.026 MB / 432.2 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004388/0.3064, allocations: 143.5 kB / 432.3 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.3065, allocations: 0 / 432.3 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.3067, allocations: 11.86 kB / 432.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.3068, allocations: 11.88 kB / 432.3 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.307, allocations: 47.89 kB / 432.4 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.3072, allocations: 67.77 kB / 432.4 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.3074, allocations: 31.97 kB / 432.5 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.931e-05/0.3074, allocations: 27.86 kB / 432.5 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.575e-05/0.3075, allocations: 31.78 kB / 432.5 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.3075, allocations: 4 kB / 432.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.002e-05/0.3075, allocations: 8 kB / 432.5 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.765e-05/0.3076, allocations: 23.92 kB / 432.6 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.26e-05/0.3077, allocations: 31.78 kB / 432.6 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.3079, allocations: 93.14 kB / 432.7 MB, free: 4.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3079, allocations: 11.94 kB / 432.7 MB, free: 4.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3079, allocations: 0 / 432.7 MB, free: 4.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.3079, allocations: 0 / 432.7 MB, free: 4.906 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.0005411/0.3084, allocations: 329.8 kB / 433 MB, free: 4.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.3085, allocations: 11.98 kB / 433 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.051e-05/0.3085, allocations: 42.75 kB / 433.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.3086, allocations: 12.89 kB / 433.1 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.3089, allocations: 146.4 kB / 433.2 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.3089, allocations: 16.33 kB / 433.2 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.3089, allocations: 12.38 kB / 433.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.3093, allocations: 213.6 kB / 433.5 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3093, allocations: 0 / 433.5 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3094, allocations: 7.938 kB / 433.5 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.3094, allocations: 4 kB / 433.5 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.601e-05/0.3094, allocations: 31.92 kB / 433.5 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.3096, allocations: 160.6 kB / 433.7 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.3099, allocations: 114.7 kB / 433.8 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.31, allocations: 77.36 kB / 433.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.31, allocations: 3.938 kB / 433.9 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.31, allocations: 42.48 kB / 433.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.31, allocations: 0 / 433.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003268/0.3104, allocations: 144.5 kB / 434 MB, free: 3.426 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.3104, allocations: 59.41 kB / 434.1 MB, free: 3.355 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.3106, allocations: 150.4 kB / 434.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.3106, allocations: 25.7 kB / 434.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.3106, allocations: 92.47 kB / 434.4 MB, free: 3.062 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.3107, allocations: 15.92 kB / 434.4 MB, free: 3.047 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.3107, allocations: 41.59 kB / 434.4 MB, free: 3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3109, allocations: 318.8 kB / 434.7 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.992e-05/0.3109, allocations: 19.98 kB / 434.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.311, allocations: 117.7 kB / 434.9 MB, free: 2.496 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.3112, allocations: 149.5 kB / 435 MB, free: 2.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.3112, allocations: 3.938 kB / 435 MB, free: 2.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002249/0.3114, allocations: 157.3 kB / 435.2 MB, free: 2.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3115, allocations: 8 kB / 435.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3115, allocations: 4.5 kB / 435.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3115, allocations: 4 kB / 435.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.3116, allocations: 35.92 kB / 435.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.3116, allocations: 4 kB / 435.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.977e-05/0.3117, allocations: 15.95 kB / 435.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.3117, allocations: 8 kB / 435.2 MB, free: 2.059 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.000123/0.3118, allocations: 137.6 kB / 435.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.312, allocations: 121.5 kB / 435.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.191e-05/0.312, allocations: 25.09 kB / 435.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.312, allocations: 3.938 kB / 435.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.312, allocations: 0 / 435.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.312, allocations: 4 kB / 435.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.3122, allocations: 148.7 kB / 435.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3122, allocations: 0 / 435.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.675e-05/0.3123, allocations: 27.98 kB / 435.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3123, allocations: 0 / 435.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3123, allocations: 7.938 kB / 435.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3123, allocations: 0 / 435.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3123, allocations: 3.938 kB / 435.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.3125, allocations: 156.8 kB / 435.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.3125, allocations: 23.89 kB / 435.9 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.3126, allocations: 11.98 kB / 435.9 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.576e-05/0.3126, allocations: 8 kB / 435.9 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-06/0.3126, allocations: 0 / 435.9 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.3126, allocations: 8 kB / 435.9 MB, free: 1.309 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.885e-05/0.3127, allocations: 110.6 kB / 436 MB, free: 1.203 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3127, allocations: 0 / 436 MB, free: 1.203 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.3129, allocations: 20 kB / 436 MB, free: 1.184 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.0006871/0.3136, allocations: 0.7284 MB / 436.8 MB, free: 440 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.3138, allocations: 92.41 kB / 436.9 MB, free: 348 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3138, allocations: 0 / 436.9 MB, free: 348 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.3138, allocations: 0 / 436.9 MB, free: 348 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.3142, allocations: 78.27 kB / 436.9 MB, free: 272 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.3159, allocations: 1.666 MB / 438.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.316, allocations: 101.2 kB / 438.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.212e-05/0.3161, allocations: 4.656 kB / 438.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.3161, allocations: 31.42 kB / 438.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3161, allocations: 0 / 438.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.348, allocations: 3.028 MB / 441.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.28, allocations: 11.5 kB / 441.8 MB, free: 11.35 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 & /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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.829006356652826]