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.001689/0.001689, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002025/0.002025, allocations: 217 kB / 24.53 MB, free: 4.008 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.573/1.573, allocations: 230.5 MB / 258.2 MB, free: 7.988 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.00202/0.00202, allocations: 63.89 kB / 378.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3001, allocations: 53.4 MB / 432 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002267/0.3024, allocations: 0.9839 MB / 433 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003169/0.3027, allocations: 107.6 kB / 433.1 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.156e-05/0.3028, allocations: 3.938 kB / 433.1 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.12e-05/0.3028, allocations: 3.938 kB / 433.1 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.303, allocations: 11.92 kB / 433.1 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.3032, allocations: 43.89 kB / 433.1 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.3033, allocations: 39.86 kB / 433.2 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3034, allocations: 16.17 kB / 433.2 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.047e-05/0.3034, allocations: 15.94 kB / 433.2 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.879e-05/0.3035, allocations: 23.78 kB / 433.2 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.3035, allocations: 8 kB / 433.2 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.3035, allocations: 4 kB / 433.2 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/0.3036, allocations: 15.92 kB / 433.2 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.3036, allocations: 27.81 kB / 433.3 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.3037, allocations: 60.09 kB / 433.3 MB, free: 5.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3037, allocations: 0 / 433.3 MB, free: 5.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3037, allocations: 0 / 433.3 MB, free: 5.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.3037, allocations: 0 / 433.3 MB, free: 5.344 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.0004073/0.3041, allocations: 298 kB / 433.6 MB, free: 5.023 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3042, allocations: 8.031 kB / 433.6 MB, free: 5.016 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.162e-05/0.3042, allocations: 4.188 kB / 433.6 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.727e-05/0.3042, allocations: 42.73 kB / 433.7 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.3043, allocations: 8.891 kB / 433.7 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.3045, allocations: 136.9 kB / 433.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.3045, allocations: 384 / 433.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.3045, allocations: 8.375 kB / 433.8 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.3048, allocations: 135.4 kB / 434 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3048, allocations: 4 kB / 434 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.3048, allocations: 0 / 434 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3048, allocations: 0 / 434 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.305e-05/0.3049, allocations: 19.94 kB / 434 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.305, allocations: 148.6 kB / 434.1 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.3052, allocations: 70.77 kB / 434.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.898e-05/0.3053, allocations: 32.84 kB / 434.2 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.3053, allocations: 0 / 434.2 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.3053, allocations: 42.44 kB / 434.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.02e-07/0.3053, allocations: 0 / 434.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002241/0.3055, allocations: 89.78 kB / 434.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.3056, allocations: 59.34 kB / 434.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3057, allocations: 133.8 kB / 434.5 MB, free: 3.965 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.3057, allocations: 25.7 kB / 434.6 MB, free: 3.934 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.3058, allocations: 92.12 kB / 434.7 MB, free: 3.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.3058, allocations: 4 kB / 434.7 MB, free: 3.836 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.3059, allocations: 21.72 kB / 434.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.306, allocations: 318.8 kB / 435 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.549e-05/0.306, allocations: 8 kB / 435 MB, free: 3.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.468e-05/0.3061, allocations: 62.8 kB / 435.1 MB, free: 3.395 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.305e-05/0.3062, allocations: 70.75 kB / 435.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.3062, allocations: 4 kB / 435.1 MB, free: 3.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001438/0.3064, allocations: 97.59 kB / 435.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3064, allocations: 8.031 kB / 435.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3064, allocations: 4 kB / 435.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3064, allocations: 0 / 435.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.454e-05/0.3065, allocations: 19.94 kB / 435.3 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3065, allocations: 320 / 435.3 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.792e-05/0.3065, allocations: 11.95 kB / 435.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.3065, allocations: 4 kB / 435.3 MB, free: 3.148 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 0.0001182/0.3067, allocations: 121.8 kB / 435.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.3068, allocations: 81.5 kB / 435.5 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/0.3068, allocations: 20.7 kB / 435.5 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3068, allocations: 0 / 435.5 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3068, allocations: 0 / 435.5 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3068, allocations: 0 / 435.5 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.3069, allocations: 144.7 kB / 435.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3069, allocations: 7.938 kB / 435.7 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.553e-05/0.307, allocations: 12 kB / 435.7 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.307, allocations: 0 / 435.7 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.307, allocations: 4 kB / 435.7 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.307, allocations: 0 / 435.7 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.307, allocations: 0 / 435.7 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.3071, allocations: 113 kB / 435.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.3072, allocations: 15.89 kB / 435.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.3072, allocations: 8 kB / 435.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.701e-05/0.3072, allocations: 0 / 435.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-06/0.3072, allocations: 4.172 kB / 435.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.3072, allocations: 0 / 435.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.153e-05/0.3073, allocations: 109.7 kB / 435.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3073, allocations: 4 kB / 435.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001989/0.3075, allocations: 8 kB / 435.9 MB, free: 2.43 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.0005378/0.308, allocations: 0.6592 MB / 436.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.3082, allocations: 40.3 kB / 436.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3082, allocations: 4.188 kB / 436.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-07/0.3082, allocations: 0 / 436.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.3085, allocations: 43.92 kB / 436.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.3097, allocations: 1.35 MB / 438 MB, free: 188 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.31, allocations: 0.7002 MB / 438.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.58e-05/0.31, allocations: 11.94 kB / 438.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.3101, allocations: 15.44 kB / 438.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3101, allocations: 0 / 438.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.3324, allocations: 1.907 MB / 440.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.13, allocations: 16.67 kB / 440.7 MB, free: 13.63 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.900144006998744]