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.001836/0.001836, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002035/0.002035, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 63.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3896, allocations: 50.53 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002727/0.3924, allocations: 0.9497 MB / 409.7 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004711/0.3929, allocations: 107.7 kB / 409.8 MB, free: 484 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.393, allocations: 3.938 kB / 409.8 MB, free: 480 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.573e-05/0.3931, allocations: 7.938 kB / 409.8 MB, free: 472 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.3933, allocations: 11.92 kB / 409.8 MB, free: 460 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.3936, allocations: 43.16 kB / 409.9 MB, free: 420 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.3938, allocations: 43.84 kB / 409.9 MB, free: 376 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.394, allocations: 20.17 kB / 409.9 MB, free: 352 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.172e-05/0.394, allocations: 11.94 kB / 410 MB, free: 340 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.522e-05/0.3941, allocations: 19.86 kB / 410 MB, free: 320 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.3941, allocations: 4 kB / 410 MB, free: 316 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.634e-05/0.3942, allocations: 8 kB / 410 MB, free: 308 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.097e-05/0.3942, allocations: 19.91 kB / 410 MB, free: 288 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.293e-05/0.3943, allocations: 23.81 kB / 410 MB, free: 264 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.3946, allocations: 62.62 kB / 410.1 MB, free: 204 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3946, allocations: 0 / 410.1 MB, free: 204 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.3946, allocations: 0 / 410.1 MB, free: 204 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.3946, allocations: 0 / 410.1 MB, free: 204 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.0007649/0.3954, allocations: 375.1 kB / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.3954, allocations: 12.03 kB / 410.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.065e-05/0.3955, allocations: 42.73 kB / 410.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.3956, allocations: 12.84 kB / 410.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.3959, allocations: 187.5 kB / 410.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3959, allocations: 8.312 kB / 410.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.3959, allocations: 4.375 kB / 410.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.3963, allocations: 139.5 kB / 410.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.3963, allocations: 0 / 410.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3963, allocations: 8 kB / 410.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3963, allocations: 0 / 410.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.227e-05/0.3964, allocations: 12 kB / 410.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002538/0.3967, allocations: 177.5 kB / 411 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.3968, allocations: 66.66 kB / 411.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.925e-05/0.3969, allocations: 44.88 kB / 411.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.3969, allocations: 0 / 411.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.397, allocations: 42.5 kB / 411.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.397, allocations: 0 / 411.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002468/0.3972, allocations: 93.66 kB / 411.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/0.3973, allocations: 55.41 kB / 411.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.3975, allocations: 133.8 kB / 411.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.3975, allocations: 33.7 kB / 411.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.3976, allocations: 84.14 kB / 411.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.3976, allocations: 4 kB / 411.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.3977, allocations: 21.72 kB / 411.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3978, allocations: 322.8 kB / 411.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.3979, allocations: 4 kB / 411.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.11e-05/0.3979, allocations: 62.8 kB / 412 MB, free: 14.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.943e-05/0.398, allocations: 70.81 kB / 412.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3981, allocations: 0 / 412.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001621/0.3982, allocations: 97.38 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.3983, allocations: 4 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3983, allocations: 8.188 kB / 412.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.3983, allocations: 8 kB / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.238e-05/0.3984, allocations: 12 kB / 412.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.3984, allocations: 7.922 kB / 412.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.3985, allocations: 11.95 kB / 412.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.3985, allocations: 4 kB / 412.2 MB, free: 13.79 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.0002071/0.3987, allocations: 121.8 kB / 412.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.3988, allocations: 77.52 kB / 412.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.714e-05/0.3989, allocations: 12.72 kB / 412.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3989, allocations: 0 / 412.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3989, allocations: 4 kB / 412.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3989, allocations: 0 / 412.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.3991, allocations: 177.6 kB / 412.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3991, allocations: 3.984 kB / 412.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.528e-05/0.3991, allocations: 11.94 kB / 412.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.3992, allocations: 7.984 kB / 412.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3992, allocations: 4 kB / 412.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3992, allocations: 4 kB / 412.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3992, allocations: 0 / 412.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.3994, allocations: 101.1 kB / 412.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.3995, allocations: 100.9 kB / 412.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.3995, allocations: 4 kB / 412.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.46e-05/0.3995, allocations: 4.188 kB / 412.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-06/0.3995, allocations: 0 / 412.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.3996, allocations: 3.938 kB / 412.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.125e-05/0.3996, allocations: 109.6 kB / 412.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3997, allocations: 0 / 412.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.3999, allocations: 8 kB / 412.9 MB, free: 12.95 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.0006444/0.4005, allocations: 0.6632 MB / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001632/0.4007, allocations: 43.86 kB / 413.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4007, allocations: 0.5625 kB / 413.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.41e-07/0.4007, allocations: 8 kB / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.4011, allocations: 38.94 kB / 413.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.4026, allocations: 1.339 MB / 415 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.4029, allocations: 0.7079 MB / 415.7 MB, free: 9.969 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.721e-05/0.403, allocations: 7.953 kB / 415.8 MB, free: 9.961 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.371e-05/0.403, allocations: 19.42 kB / 415.8 MB, free: 9.941 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.403, allocations: 0 / 415.8 MB, free: 9.941 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.4273, allocations: 1.727 MB / 417.5 MB, free: 8.324 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.948/8.376, allocations: 7.25 kB / 417.5 MB, free: 8.32 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.6e-05 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.csv","/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