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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001491/0.001492, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0018/0.0018, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.644/1.644, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 59.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3941, allocations: 50.54 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.00243/0.3966, allocations: 0.9454 MB / 409.7 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004043/0.397, allocations: 107.7 kB / 409.8 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.95e-05/0.3971, allocations: 4 kB / 409.8 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.462e-05/0.3972, allocations: 7.875 kB / 409.8 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.3974, allocations: 11.92 kB / 409.8 MB, free: 492 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.3977, allocations: 35.91 kB / 409.9 MB, free: 456 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.3978, allocations: 39.86 kB / 409.9 MB, free: 416 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.398, allocations: 28.16 kB / 409.9 MB, free: 384 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.398, allocations: 15.92 kB / 410 MB, free: 368 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.401e-05/0.3981, allocations: 19.86 kB / 410 MB, free: 348 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.3981, allocations: 4 kB / 410 MB, free: 344 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.3981, allocations: 4 kB / 410 MB, free: 340 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.269e-05/0.3982, allocations: 11.94 kB / 410 MB, free: 328 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.242e-05/0.3982, allocations: 31.8 kB / 410 MB, free: 296 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.3984, allocations: 55.75 kB / 410.1 MB, free: 240 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.3984, allocations: 3.984 kB / 410.1 MB, free: 236 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3984, allocations: 4 kB / 410.1 MB, free: 232 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.3984, allocations: 0 / 410.1 MB, free: 232 kB / 318.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.0005466/0.399, allocations: 368.8 kB / 410.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.399, allocations: 12.03 kB / 410.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.366e-05/0.3991, allocations: 34.75 kB / 410.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.3991, allocations: 8.844 kB / 410.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.3994, allocations: 196.1 kB / 410.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.3994, allocations: 8.375 kB / 410.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.3994, allocations: 12.31 kB / 410.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.3997, allocations: 135.5 kB / 410.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/0.3997, allocations: 0 / 410.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.3997, allocations: 0 / 410.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3997, allocations: 0 / 410.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.275e-05/0.3998, allocations: 15.98 kB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.3999, allocations: 173.7 kB / 411 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.4001, allocations: 70.69 kB / 411.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.524e-05/0.4001, allocations: 36.84 kB / 411.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.4002, allocations: 4 kB / 411.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.4002, allocations: 42.48 kB / 411.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.4002, allocations: 0 / 411.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001939/0.4004, allocations: 85.81 kB / 411.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.4005, allocations: 63.34 kB / 411.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.4006, allocations: 133 kB / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.4006, allocations: 29.7 kB / 411.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.4006, allocations: 84.14 kB / 411.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.4007, allocations: 15.83 kB / 411.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.4007, allocations: 17.72 kB / 411.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4008, allocations: 326.8 kB / 411.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.096e-05/0.4009, allocations: 12 kB / 411.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.272e-05/0.4009, allocations: 54.86 kB / 412 MB, free: 14.08 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.947e-05/0.401, allocations: 74.75 kB / 412.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.401, allocations: 0 / 412.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001172/0.4011, allocations: 97.34 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.4012, allocations: 8 kB / 412.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4012, allocations: 0 / 412.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.4012, allocations: 7.984 kB / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/0.4013, allocations: 12 kB / 412.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.4013, allocations: 4 kB / 412.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.066e-05/0.4013, allocations: 3.938 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.4013, allocations: 8.25 kB / 412.2 MB, free: 13.84 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.439e-05/0.4014, allocations: 129.7 kB / 412.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.044e-05/0.4015, allocations: 77.69 kB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.4016, allocations: 16.7 kB / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.4016, allocations: 0 / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4016, allocations: 192 / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4016, allocations: 0 / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.4017, allocations: 177.6 kB / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4018, allocations: 0 / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.828e-05/0.4018, allocations: 19.88 kB / 412.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.4018, allocations: 4 kB / 412.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.4018, allocations: 0 / 412.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.4018, allocations: 0 / 412.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4018, allocations: 0 / 412.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.402, allocations: 97.03 kB / 412.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-05/0.4021, allocations: 104.9 kB / 412.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.4021, allocations: 3.984 kB / 412.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.77e-05/0.4021, allocations: 0 / 412.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-06/0.4021, allocations: 4 kB / 412.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.4021, allocations: 4 kB / 412.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.988e-05/0.4022, allocations: 103.2 kB / 412.9 MB, free: 13 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4022, allocations: 0 / 412.9 MB, free: 13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001974/0.4024, allocations: 12 kB / 412.9 MB, free: 12.99 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.0004685/0.4029, allocations: 0.667 MB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.403, allocations: 47.92 kB / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.403, allocations: 0 / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.425e-06/0.403, allocations: 3.938 kB / 413.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.4033, allocations: 36.02 kB / 413.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.4045, allocations: 1.343 MB / 415 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.4048, allocations: 0.6962 MB / 415.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.443e-05/0.4048, allocations: 16.06 kB / 415.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.4049, allocations: 19.44 kB / 415.8 MB, free: 9.988 MB / 334.1 MB Notification: Performance of SimCode: time 1.883e-06/0.4049, allocations: 0 / 415.8 MB, free: 9.988 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.423, allocations: 1.77 MB / 417.5 MB, free: 8.332 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.165/8.589, allocations: 6.906 kB / 417.5 MB, free: 8.328 MB / 334.1 MB (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 --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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches