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.001951/0.001951, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002159/0.002159, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 63.91 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3752, allocations: 50.54 MB / 408.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.003988/0.3793, allocations: 0.9569 MB / 409.8 MB, free: 388 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000522/0.3798, allocations: 111.6 kB / 409.9 MB, free: 276 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.38, allocations: 4 kB / 409.9 MB, free: 272 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.067e-05/0.3801, allocations: 3.938 kB / 409.9 MB, free: 268 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.3803, allocations: 7.875 kB / 409.9 MB, free: 260 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.3807, allocations: 39.91 kB / 410 MB, free: 220 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.3808, allocations: 47.83 kB / 410 MB, free: 172 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.381, allocations: 20.19 kB / 410 MB, free: 148 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.538e-05/0.381, allocations: 15.92 kB / 410 MB, free: 132 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.122e-05/0.3811, allocations: 19.86 kB / 410.1 MB, free: 112 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.3812, allocations: 4 kB / 410.1 MB, free: 108 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.822e-05/0.3812, allocations: 4 kB / 410.1 MB, free: 104 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.879e-05/0.3813, allocations: 11.94 kB / 410.1 MB, free: 92 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.419e-05/0.3813, allocations: 27.8 kB / 410.1 MB, free: 64 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.3815, allocations: 58.69 kB / 410.2 MB, free: 8 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.3816, allocations: 0 / 410.2 MB, free: 8 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3816, allocations: 0 / 410.2 MB, free: 8 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3816, allocations: 7.938 kB / 410.2 MB, free: 0 / 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.0008321/0.3824, allocations: 375.1 kB / 410.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.509e-05/0.3825, allocations: 12.03 kB / 410.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.52e-05/0.3826, allocations: 34.75 kB / 410.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.3826, allocations: 12.84 kB / 410.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/0.3831, allocations: 196.2 kB / 410.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3832, allocations: 384 / 410.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.3832, allocations: 8.375 kB / 410.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004542/0.3837, allocations: 127.6 kB / 410.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3837, allocations: 4 kB / 410.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.3837, allocations: 7.984 kB / 410.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.3837, allocations: 3.938 kB / 410.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.861e-05/0.3838, allocations: 15.98 kB / 410.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002895/0.3841, allocations: 177.5 kB / 411.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.3843, allocations: 66.75 kB / 411.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.339e-05/0.3844, allocations: 32.86 kB / 411.2 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.3845, allocations: 3.938 kB / 411.2 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.53e-05/0.3846, allocations: 46.48 kB / 411.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 2.014e-06/0.3846, allocations: 4 kB / 411.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002867/0.3849, allocations: 81.64 kB / 411.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/0.385, allocations: 55.41 kB / 411.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.3852, allocations: 136.6 kB / 411.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3852, allocations: 25.7 kB / 411.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.3853, allocations: 84.14 kB / 411.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.3853, allocations: 11.98 kB / 411.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.3854, allocations: 17.72 kB / 411.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.3856, allocations: 326.8 kB / 412 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.805e-05/0.3857, allocations: 7.938 kB / 412 MB, free: 13.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.653e-05/0.3858, allocations: 58.86 kB / 412.1 MB, free: 13.85 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.3859, allocations: 74.75 kB / 412.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3859, allocations: 0 / 412.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002097/0.3862, allocations: 89.45 kB / 412.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.3862, allocations: 8 kB / 412.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.3862, allocations: 3.984 kB / 412.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.3862, allocations: 7.938 kB / 412.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.3864, allocations: 16 kB / 412.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.3864, allocations: 8.125 kB / 412.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.482e-05/0.3865, allocations: 7.953 kB / 412.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.3865, allocations: 7.938 kB / 412.3 MB, free: 13.6 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.0001702/0.3867, allocations: 130 kB / 412.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.3868, allocations: 73.73 kB / 412.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.682e-05/0.3869, allocations: 16.7 kB / 412.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3869, allocations: 0 / 412.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3869, allocations: 0 / 412.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.387, allocations: 0 / 412.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.3872, allocations: 177.6 kB / 412.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3872, allocations: 0 / 412.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.808e-05/0.3873, allocations: 15.94 kB / 412.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3873, allocations: 8 kB / 412.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.3873, allocations: 0 / 412.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3873, allocations: 0 / 412.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.3873, allocations: 3.938 kB / 412.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.3876, allocations: 97.08 kB / 412.8 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.3877, allocations: 92.98 kB / 412.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.3877, allocations: 11.98 kB / 412.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.611e-05/0.3878, allocations: 0 / 412.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-06/0.3878, allocations: 0 / 412.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.3878, allocations: 4 kB / 412.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.3879, allocations: 106.4 kB / 413 MB, free: 12.78 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3879, allocations: 0 / 413 MB, free: 12.78 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003462/0.3883, allocations: 8 kB / 413 MB, free: 12.77 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.001006/0.3893, allocations: 0.6714 MB / 413.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.3895, allocations: 39.92 kB / 413.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3895, allocations: 4 kB / 413.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.82e-07/0.3895, allocations: 0 / 413.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.39, allocations: 42.41 kB / 413.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.3922, allocations: 1.345 MB / 415.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/0.3926, allocations: 0.7001 MB / 415.8 MB, free: 9.789 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.265e-05/0.3927, allocations: 7.938 kB / 415.8 MB, free: 9.781 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.402e-05/0.3928, allocations: 15.44 kB / 415.8 MB, free: 9.766 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3928, allocations: 3.938 kB / 415.8 MB, free: 9.762 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0338/0.4266, allocations: 1.728 MB / 417.6 MB, free: 8.141 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.561/8.988, allocations: 10.69 kB / 417.6 MB, free: 8.137 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.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) Reference file matches