Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.001827/0.001827, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.002393/0.002393, allocations: 210.9 kB / 24.51 MB, free: 3.941 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.487/1.487, allocations: 230.5 MB / 258.2 MB, free: 7.805 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.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 63.91 kB / 378.5 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2996, allocations: 53.4 MB / 431.9 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002442/0.302, allocations: 0.9527 MB / 432.9 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003418/0.3024, allocations: 115.5 kB / 433 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.231e-05/0.3024, allocations: 0 / 433 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.011e-05/0.3025, allocations: 3.938 kB / 433 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.3026, allocations: 19.86 kB / 433 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.3028, allocations: 31.91 kB / 433 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.303, allocations: 35.92 kB / 433.1 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3031, allocations: 26.27 kB / 433.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.225e-05/0.3031, allocations: 19.86 kB / 433.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.291e-05/0.3032, allocations: 15.92 kB / 433.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.3032, allocations: 11.94 kB / 433.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.3032, allocations: 4 kB / 433.1 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.231e-05/0.3032, allocations: 8 kB / 433.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.3033, allocations: 23.8 kB / 433.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.3034, allocations: 55.75 kB / 433.2 MB, free: 5.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3034, allocations: 0 / 433.2 MB, free: 5.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.3034, allocations: 7.922 kB / 433.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.3034, allocations: 0 / 433.2 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004609/0.3039, allocations: 298 kB / 433.5 MB, free: 4.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3039, allocations: 11.97 kB / 433.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.776e-05/0.3039, allocations: 16.19 kB / 433.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.026e-05/0.304, allocations: 34.69 kB / 433.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.304, allocations: 12.84 kB / 433.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.3042, allocations: 130.5 kB / 433.7 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3042, allocations: 8.375 kB / 433.7 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.3043, allocations: 4.375 kB / 433.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.3045, allocations: 143.2 kB / 433.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.3045, allocations: 0 / 433.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3046, allocations: 0 / 433.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3046, allocations: 0 / 433.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.923e-05/0.3046, allocations: 12 kB / 433.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.3047, allocations: 148.6 kB / 434 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.3049, allocations: 66.66 kB / 434.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.98e-05/0.305, allocations: 32.89 kB / 434.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.305, allocations: 4 kB / 434.1 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.305, allocations: 34.5 kB / 434.2 MB, free: 4.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 2.575e-06/0.305, allocations: 7.984 kB / 434.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001997/0.3052, allocations: 85.64 kB / 434.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.3053, allocations: 55.41 kB / 434.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.3054, allocations: 140.5 kB / 434.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.3054, allocations: 29.64 kB / 434.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.3055, allocations: 88.14 kB / 434.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.3055, allocations: 4 kB / 434.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.3055, allocations: 25.7 kB / 434.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3056, allocations: 314.8 kB / 434.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/0.3057, allocations: 8 kB / 434.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.665e-05/0.3057, allocations: 54.86 kB / 435 MB, free: 3.184 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.308e-05/0.3058, allocations: 74.75 kB / 435 MB, free: 3.086 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3058, allocations: 3.984 kB / 435 MB, free: 3.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001345/0.3059, allocations: 101.4 kB / 435.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.306, allocations: 4 kB / 435.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.306, allocations: 4 kB / 435.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.306, allocations: 0 / 435.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.804e-05/0.3061, allocations: 15.98 kB / 435.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.3061, allocations: 4 kB / 435.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.172e-05/0.3061, allocations: 12.14 kB / 435.2 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.3061, allocations: 4 kB / 435.2 MB, free: 2.934 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 9.988e-05/0.3062, allocations: 126 kB / 435.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.666e-05/0.3063, allocations: 85.97 kB / 435.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.3063, allocations: 8.719 kB / 435.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3064, allocations: 4 kB / 435.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3064, allocations: 0 / 435.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.3064, allocations: 3.984 kB / 435.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.3065, allocations: 136.7 kB / 435.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3065, allocations: 7.938 kB / 435.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.3065, allocations: 19.92 kB / 435.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3065, allocations: 0 / 435.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.3065, allocations: 4 kB / 435.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.3065, allocations: 4 kB / 435.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3065, allocations: 0 / 435.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.3067, allocations: 101.1 kB / 435.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.3067, allocations: 23.88 kB / 435.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.3067, allocations: 0 / 435.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.864e-05/0.3068, allocations: 0 / 435.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-06/0.3068, allocations: 0 / 435.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.3068, allocations: 8 kB / 435.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.151e-05/0.3068, allocations: 103.2 kB / 435.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3068, allocations: 0 / 435.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002007/0.307, allocations: 8 kB / 435.8 MB, free: 2.223 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: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0005415/0.3076, allocations: 0.6631 MB / 436.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.3077, allocations: 35.94 kB / 436.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3077, allocations: 0 / 436.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.3077, allocations: 4 kB / 436.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.308, allocations: 43.94 kB / 436.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.3094, allocations: 1.354 MB / 437.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.112e-05/0.3095, allocations: 79.31 kB / 438 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.037e-05/0.3095, allocations: 7.953 kB / 438 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.147e-05/0.3096, allocations: 19.44 kB / 438 MB, free: 15.85 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3096, allocations: 0 / 438 MB, free: 15.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.333, allocations: 1.949 MB / 440 MB, free: 14.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.24, allocations: 4.812 kB / 440 MB, free: 14.02 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:add.k1,add.k2,add.u1,add.u2,add.y,assignClock1.u,assignClock1.y,const.k,const.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(unitDelay1.u),time,unitDelay1.u,unitDelay1.y,unitDelay1.y_start [Calling sys.exit(0), Time elapsed: 13.922399909002706]