Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.ClockSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001938/0.001938, allocations: 118.3 kB / 17.78 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.002325/0.002325, allocations: 201.2 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 227.4 MB / 247 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 59.89 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3047, allocations: 50.55 MB / 408.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003345/0.3081, allocations: 1.565 MB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3094, allocations: 0.5258 MB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.3095, allocations: 11.94 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.613e-05/0.3096, allocations: 7.922 kB / 410.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.3098, allocations: 3.938 kB / 410.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.3101, allocations: 62.92 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.3103, allocations: 47.8 kB / 411 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.3104, allocations: 16.17 kB / 411 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.3106, allocations: 35.86 kB / 411.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.361e-05/0.3106, allocations: 23.84 kB / 411.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.851e-05/0.3107, allocations: 4 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.767e-05/0.3107, allocations: 8 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.3108, allocations: 11.94 kB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.647e-05/0.3108, allocations: 27.8 kB / 411.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.311, allocations: 58.69 kB / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.311, allocations: 0 / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.311, allocations: 0 / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.311, allocations: 0 / 411.2 MB, free: 15.04 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005641/0.3116, allocations: 391 kB / 411.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3116, allocations: 8.031 kB / 411.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.138e-05/0.3117, allocations: 34.75 kB / 411.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.3119, allocations: 16.88 kB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.3121, allocations: 208.1 kB / 411.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.3122, allocations: 4.375 kB / 411.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.3122, allocations: 4.375 kB / 411.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.3125, allocations: 109 kB / 412 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3125, allocations: 0 / 412 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.3125, allocations: 3.938 kB / 412 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3125, allocations: 3.984 kB / 412 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.657e-05/0.3126, allocations: 15.98 kB / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.313, allocations: 265.7 kB / 412.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.596e-05/0.3131, allocations: 45.2 kB / 412.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.072e-05/0.3132, allocations: 25.72 kB / 412.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.3132, allocations: 4 kB / 412.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.3132, allocations: 34.55 kB / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.3132, allocations: 0 / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000286/0.3135, allocations: 69.58 kB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.3136, allocations: 81.09 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.3138, allocations: 144.5 kB / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3138, allocations: 25.7 kB / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.3139, allocations: 88.12 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.3139, allocations: 3.953 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.3139, allocations: 17.72 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3141, allocations: 322.8 kB / 413.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.125e-05/0.3142, allocations: 7.984 kB / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.17e-05/0.3142, allocations: 17.72 kB / 413.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.299e-05/0.3143, allocations: 33.64 kB / 413.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3143, allocations: 0 / 413.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001301/0.3145, allocations: 61.62 kB / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3145, allocations: 11.94 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3145, allocations: 0 / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3145, allocations: 4.125 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.3146, allocations: 4 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3146, allocations: 0 / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.76e-05/0.3147, allocations: 7.984 kB / 413.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3147, allocations: 0 / 413.2 MB, free: 12.74 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001145/0.3148, allocations: 117.8 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.3148, allocations: 37.66 kB / 413.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.3149, allocations: 19.81 kB / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3149, allocations: 4.031 kB / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3149, allocations: 7.922 kB / 413.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.3149, allocations: 4 kB / 413.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.3151, allocations: 169.6 kB / 413.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3152, allocations: 3.938 kB / 413.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.623e-05/0.3152, allocations: 11.92 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3152, allocations: 0 / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3152, allocations: 4 kB / 413.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3152, allocations: 0 / 413.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3152, allocations: 0 / 413.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.3154, allocations: 164.3 kB / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.351e-05/0.3155, allocations: 89.05 kB / 413.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.3155, allocations: 0 / 413.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.3156, allocations: 7.984 kB / 413.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.3157, allocations: 4 kB / 413.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.3157, allocations: 0 / 413.9 MB, free: 12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.588e-05/0.3158, allocations: 117.7 kB / 414 MB, free: 11.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3158, allocations: 0 / 414 MB, free: 11.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003214/0.3161, allocations: 4 kB / 414 MB, free: 11.88 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005804/0.3167, allocations: 0.6937 MB / 414.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.3169, allocations: 27.92 kB / 414.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3169, allocations: 0 / 414.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.554e-05/0.3169, allocations: 4 kB / 414.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.3173, allocations: 16.02 kB / 414.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.3187, allocations: 1.332 MB / 416.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.3191, allocations: 0.6885 MB / 416.8 MB, free: 8.973 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.606e-05/0.3191, allocations: 4 kB / 416.8 MB, free: 8.969 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.3192, allocations: 11.44 kB / 416.8 MB, free: 8.957 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3192, allocations: 4.031 kB / 416.8 MB, free: 8.953 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.3429, allocations: 1.564 MB / 418.3 MB, free: 7.504 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.641/8.984, allocations: 3.125 kB / 418.3 MB, free: 7.504 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches